You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #851 it was suggested that datamodules with variable sized input images should implement a random size crop from tile to patches during training and have a keyword argument to specify the desired patch_size.
When looking through our other Non-geospatial datamodules, there are other cases that might be good to add the same support, just because the default images are very large and not suitable for batches even though all images have the same dimensions:
Maybe, there can also be a threshold for future datamodule additions: for example if image size is greater than X, implement the random patch crop logic for that datamodule.
Rationale
I think it would lower the threshold of using these datasets. Since datamodules are supposed to make it very quick and easy for users to conduct segmentation experiments, the patch_size logic would make it a bit more easier to practically use the datamodules right away.
Implementation
Implement a logic like in the OSCDDatamodule.
Alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Summary
In #851 it was suggested that datamodules with variable sized input images should implement a random size crop from tile to patches during training and have a keyword argument to specify the desired
patch_size
.When looking through our other Non-geospatial datamodules, there are other cases that might be good to add the same support, just because the default images are very large and not suitable for batches even though all images have the same dimensions:
Maybe, there can also be a threshold for future datamodule additions: for example if image size is greater than X, implement the random patch crop logic for that datamodule.
Rationale
I think it would lower the threshold of using these datasets. Since datamodules are supposed to make it very quick and easy for users to conduct segmentation experiments, the patch_size logic would make it a bit more easier to practically use the datamodules right away.
Implementation
Implement a logic like in the
OSCDDatamodule.
Alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: