-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible image size with RandomGeoSampler #1778
Comments
Since you're just looking at Maryland, have you tried using |
@dmeaux Thanks! Actually, I will use all datasets afterward for training, this is just an example to test the dataloader :D But I can try what you mentioned if it is really hard to fix |
Note that |
Note, this could be solved if we create the concept of TileDatasets (being discussed in #1353). |
Or if we convert ChesapeakeCVPR to a RasterDataset. |
Discussed in #1773
Originally posted by hfangcat December 14, 2023
The code example is here:
Then it shows the shape of images and targets:
which is not compatible with 224: what I specified in the code
sampler_train = RandomGeoSampler(dataset_train, size=224, length=1)
, can the community help me find out why it happens?The text was updated successfully, but these errors were encountered: