mikewang commited on
Commit
652346d
·
1 Parent(s): 24b4c33

fix script

Browse files
Files changed (1) hide show
  1. EuroSAT.py +1 -1
EuroSAT.py CHANGED
@@ -191,7 +191,7 @@ class EuroSAT(datasets.GeneratorBasedBuilder):
191
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
192
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
193
 
194
- data = _load_EuroSAT_rgb(filepath)
195
 
196
  for key, row in enumerate(data):
197
  yield key, {
 
191
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
192
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
193
 
194
+ data = _load_EuroSAT_rgb(os.path.join(filepath,"EuroSAT_RGB"))
195
 
196
  for key, row in enumerate(data):
197
  yield key, {