yuxuanw8 commited on
Commit
9a73dec
·
verified ·
1 Parent(s): 3e8a058

Update BigEarthNet.py

Browse files
Files changed (1) hide show
  1. 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(combined_file)
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)
189
  print(f"copying files to {combined_file}")
190
  with open(combined_file, 'wb') as outfile:
191
  counter = 0