fixed bug
Browse files- ref_seg_ger.py +1 -0
ref_seg_ger.py
CHANGED
@@ -165,6 +165,7 @@ class RefSeg(datasets.GeneratorBasedBuilder):
|
|
165 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
166 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
167 |
data_dir = dl_manager.download_and_extract(_URLS)
|
|
|
168 |
# with open(os.path.join(data_dir, "train.csv")) as f:
|
169 |
# files_train = [{'id': row['id'], 'filepath_txt': os.path.join(data_dir, row['filepath_txt']),
|
170 |
# 'filepath_img': os.path.join(data_dir, row['filepath_img'])} for row in
|
|
|
165 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
166 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
167 |
data_dir = dl_manager.download_and_extract(_URLS)
|
168 |
+
print(data_dir)
|
169 |
# with open(os.path.join(data_dir, "train.csv")) as f:
|
170 |
# files_train = [{'id': row['id'], 'filepath_txt': os.path.join(data_dir, row['filepath_txt']),
|
171 |
# 'filepath_img': os.path.join(data_dir, row['filepath_img'])} for row in
|