From ef0af00867b9ccdfe6f4324a4ea9d0d11a8b04a9 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 6 Jun 2024 11:29:11 +0200 Subject: [PATCH 1/2] AgriFieldNet: fix list formatting --- torchgeo/datasets/agrifieldnet.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/torchgeo/datasets/agrifieldnet.py b/torchgeo/datasets/agrifieldnet.py index 8be13a170cf..34513312571 100644 --- a/torchgeo/datasets/agrifieldnet.py +++ b/torchgeo/datasets/agrifieldnet.py @@ -51,20 +51,20 @@ class AgriFieldNet(RasterDataset): Dataset classes: - 0 - No-Data - 1 - Wheat - 2 - Mustard - 3 - Lentil - 4 - No Crop/Fallow - 5 - Green pea - 6 - Sugarcane - 8 - Garlic - 9 - Maize - 13 - Gram - 14 - Coriander - 15 - Potato - 16 - Berseem - 36 - Rice + 0. No-Data + 1. Wheat + 2. Mustard + 3. Lentil + 4. No Crop/Fallow + 5. Green pea + 6. Sugarcane + 8. Garlic + 9. Maize + 13. Gram + 14. Coriander + 15. Potato + 16. Berseem + 36. Rice If you use this dataset in your research, please cite the following dataset: From 131ad42241fceb38f82fd96717e6f78a4947c730 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 6 Jun 2024 18:26:57 +0200 Subject: [PATCH 2/2] List hack --- torchgeo/datasets/agrifieldnet.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/torchgeo/datasets/agrifieldnet.py b/torchgeo/datasets/agrifieldnet.py index 34513312571..fd325aaa6f8 100644 --- a/torchgeo/datasets/agrifieldnet.py +++ b/torchgeo/datasets/agrifieldnet.py @@ -51,20 +51,20 @@ class AgriFieldNet(RasterDataset): Dataset classes: - 0. No-Data - 1. Wheat - 2. Mustard - 3. Lentil - 4. No Crop/Fallow - 5. Green pea - 6. Sugarcane - 8. Garlic - 9. Maize - 13. Gram - 14. Coriander - 15. Potato - 16. Berseem - 36. Rice + * 0. No-Data + * 1. Wheat + * 2. Mustard + * 3. Lentil + * 4. No Crop/Fallow + * 5. Green pea + * 6. Sugarcane + * 8. Garlic + * 9. Maize + * 13. Gram + * 14. Coriander + * 15. Potato + * 16. Berseem + * 36. Rice If you use this dataset in your research, please cite the following dataset: