File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,6 @@ class EuroSAT(ImageFolder):
22
22
url = "https://madm.dfki.de/files/sentinel/EuroSAT.zip"
23
23
md5 = "c8fa014336c82ac7804f0398fcb19387"
24
24
25
- _class_map = {
26
- "AnnualCrop" : "Annual Crop" ,
27
- "HerbaceousVegetation" : "Herbaceous Vegetation" ,
28
- "Industrial" : "Industrial Buildings" ,
29
- "PermanentCrop" : "Permanent Crop" ,
30
- "Residential" : "Residential Buildings" ,
31
- "SeaLake" : "Sea & Lake" ,
32
- }
33
-
34
25
def __init__ (
35
26
self ,
36
27
root : str ,
@@ -48,7 +39,6 @@ def __init__(
48
39
raise RuntimeError ("Dataset not found. You can use download=True to download it" )
49
40
50
41
super ().__init__ (self ._data_folder , ** kwargs )
51
- self .classes = [self ._class_map .get (cls , cls ) for cls in self .classes ]
52
42
self .root = os .path .expanduser (root )
53
43
54
44
def __len__ (self ) -> int :
You can’t perform that action at this time.
0 commit comments