Update BigEarthNet.py
Browse files- 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"
|
| 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)
|