alkzar90 commited on
Commit
883a303
·
1 Parent(s): 91b405b

Update CC6204-Hackaton-Cub-Dataset.py

Browse files
Files changed (1) hide show
  1. CC6204-Hackaton-Cub-Dataset.py +2 -2
CC6204-Hackaton-Cub-Dataset.py CHANGED
@@ -114,8 +114,8 @@ class CubDataset(datasets.GeneratorBasedBuilder):
114
  for img in img_path_files:
115
  print(img)
116
  print(os.path.basename(img))
117
- print(text_path_files[0])
118
- print(text_path_files[10])
119
  text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
120
  img_idx = _IMGNAME2ID[os.path.basename(img)]
121
  if img_idx in _TRAIN_IDX_SET:
 
114
  for img in img_path_files:
115
  print(img)
116
  print(os.path.basename(img))
117
+ print(next(text_path_files))
118
+ print(next(text_path_files))
119
  text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
120
  img_idx = _IMGNAME2ID[os.path.basename(img)]
121
  if img_idx in _TRAIN_IDX_SET: