mathiaszinnen commited on
Commit
bfe11fb
·
1 Parent(s): f0cb4ba

Fix directory creation

Browse files
Files changed (1) hide show
  1. odor.py +1 -1
odor.py CHANGED
@@ -109,7 +109,7 @@ class ODOR(datasets.GeneratorBasedBuilder):
109
  imgs_dir = f'{self.cache_dir}/images'
110
  _download_file(_META_URL, '.', 'meta.csv', 3)
111
  if not os.path.isdir('./annotations'):
112
- os.path.makedirs('./annotations')
113
  _download_file(_TRAIN_JSON_URL, './annotations', 'train.json')
114
  _download_file(_TEST_JSON_URL, './annotations', 'test.json')
115
  csv_pth = f'./meta.csv'
 
109
  imgs_dir = f'{self.cache_dir}/images'
110
  _download_file(_META_URL, '.', 'meta.csv', 3)
111
  if not os.path.isdir('./annotations'):
112
+ os.makedirs('./annotations')
113
  _download_file(_TRAIN_JSON_URL, './annotations', 'train.json')
114
  _download_file(_TEST_JSON_URL, './annotations', 'test.json')
115
  csv_pth = f'./meta.csv'