yuxuanw8 commited on
Commit
9ed315f
·
verified ·
1 Parent(s): 734ce4c

Update BigEarthNet.py

Browse files
Files changed (1) hide show
  1. BigEarthNet.py +1 -1
BigEarthNet.py CHANGED
@@ -192,7 +192,7 @@ class BigEarthNetDataset(datasets.GeneratorBasedBuilder):
192
  os.remove(combined_file)
193
  except Exception as e:
194
  # Print the error message
195
- print(f"An error occurred: {e}, setting data_dir to None")
196
  data_dir = None
197
  else:
198
  data_dir = dl_manager.download_and_extract(self.DATA_URL)
 
192
  os.remove(combined_file)
193
  except Exception as e:
194
  # Print the error message
195
+ print(f"{e}, setting data_dir to None")
196
  data_dir = None
197
  else:
198
  data_dir = dl_manager.download_and_extract(self.DATA_URL)