Yi-Chia Chang
Yi-Chia Chang
This PR adds the datamodule for CDL + Sentinel-2 images. Need to try `random_grid_cell_assignment`
This PR adds the AgriFieldNet datamodule. The training uses satellite images included in the original dataset. We can experiment more with the Sentinel-2 raw scenes.
This PR replaces `RandomBatchGeoSampler` with `RandomGeoSampler` for Agrifieldnet, Sentinel2_CDL, Sentinel2_NCCM, Sentinel2_EuroCrops, and Sentinel2_SouthAmericaSoybean datamodules. `RandomGeoSampler` works better for the pre-chipped datasets because it returns the correct random bounding boxes.
This PR adds SatlasPretrain ResNet50 weights as the Enums.
This PR fixes the filename glob and regex for the files downloaded from the source.
### Description The filename glob is missing from the AgriFieldNet dataset. ### Steps to reproduce 1. Check line 76 in torchgeo/datasets/agrifieldnet.py ### Version main