Moving augmentation away from datamodules #596
Replies: 5 comments
-
I think it depends on whether your goal is experimentation or reproducibility. If you want to experiment with different augmentations, you can always subclass the datamodule and override the preprocess method to use different augmentations. But if you want reproducibility, I think it's important to store the augmentations used to train a model directly with the datamodule. |
Beta Was this translation helpful? Give feedback.
-
By reproducibility you mean for the results in our paper? |
Beta Was this translation helpful? Give feedback.
-
But anyway, some things that could (should IMO) happen in the datamodules:
|
Beta Was this translation helpful? Give feedback.
-
Our paper, or:
I think it's fine for datamodules to use different transforms if those work better for that particular dataset. |
Beta Was this translation helpful? Give feedback.
-
Note that #730 will allow users to pass |
Beta Was this translation helpful? Give feedback.
-
Pre-processing and augmentation are slightly different. Pre-processing should be intrinsic to the dataset, however augmentation techniques are not. Augmentation should be decided by the user and TorchGeo should not make an opinion on it.
Beta Was this translation helpful? Give feedback.
All reactions