Update BigEarthNet.py
Browse files- BigEarthNet.py +1 -1
BigEarthNet.py
CHANGED
|
@@ -185,7 +185,7 @@ class BigEarthNetDataset(datasets.GeneratorBasedBuilder):
|
|
| 185 |
print("Downloading Finished")
|
| 186 |
print(f"downloaded files: {downloaded_files}")
|
| 187 |
combined_file = os.path.join(dl_manager.download_config.cache_dir, "combined.tar.gz")
|
| 188 |
-
os.makedirs(
|
| 189 |
print(f"copying files to {combined_file}")
|
| 190 |
with open(combined_file, 'wb') as outfile:
|
| 191 |
counter = 0
|
|
|
|
| 185 |
print("Downloading Finished")
|
| 186 |
print(f"downloaded files: {downloaded_files}")
|
| 187 |
combined_file = os.path.join(dl_manager.download_config.cache_dir, "combined.tar.gz")
|
| 188 |
+
os.makedirs(dl_manager.download_config.cache_dir, exist_ok=True)
|
| 189 |
print(f"copying files to {combined_file}")
|
| 190 |
with open(combined_file, 'wb') as outfile:
|
| 191 |
counter = 0
|