yuxuanw8 commited on
Commit
c651c77
·
verified ·
1 Parent(s): 0f164a0

Update BigEarthNet.py

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