yuxuanw8 commited on
Commit
91da108
·
verified ·
1 Parent(s): b1ab4a3

Upload EuroSAT.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. EuroSAT.py +1 -1
EuroSAT.py CHANGED
@@ -33,7 +33,7 @@ class EuroSATConfig(datasets.BuilderConfig):
33
  def __init__(self, bands=BAND_SETS['all'], **kwargs):
34
  super(EuroSATConfig, self).__init__(**kwargs)
35
  self.bands = bands
36
- self.band_indices = [int(self.all_band_names.index(b)) for b in bands if b in self.all_band_names]
37
 
38
  # def update(self, **kwargs):
39
  # """Update Config"""
 
33
  def __init__(self, bands=BAND_SETS['all'], **kwargs):
34
  super(EuroSATConfig, self).__init__(**kwargs)
35
  self.bands = bands
36
+ self.band_indices = [int(all_band_names.index(b)) for b in bands if b in all_band_names]
37
 
38
  # def update(self, **kwargs):
39
  # """Update Config"""