alkzar90 commited on
Commit
111c532
1 Parent(s): ba7d78e

Update CC6204-Hackaton-Cub-Dataset.py

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +1 -0
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: