Datasets:
Update CC6204-Hackaton-Cub-Dataset.py
Browse files
CC6204-Hackaton-Cub-Dataset.py
CHANGED
@@ -92,6 +92,7 @@ class CubDataset(datasets.GeneratorBasedBuilder):
|
|
92 |
for batch in data_files:
|
93 |
path_files = dl_manager.iter_files(batch)
|
94 |
for img in path_files:
|
|
|
95 |
if _IMGNAME2ID[os.path.basename(img)] in _TRAIN_IDX_SET:
|
96 |
train_files.append(img)
|
97 |
else:
|
|
|
92 |
for batch in data_files:
|
93 |
path_files = dl_manager.iter_files(batch)
|
94 |
for img in path_files:
|
95 |
+
logger.info(f"img: {img}")
|
96 |
if _IMGNAME2ID[os.path.basename(img)] in _TRAIN_IDX_SET:
|
97 |
train_files.append(img)
|
98 |
else:
|