Datasets:
Update CC6204-Hackaton-Cub-Dataset.py
Browse files
CC6204-Hackaton-Cub-Dataset.py
CHANGED
@@ -114,7 +114,7 @@ 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)
|
118 |
text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
|
119 |
img_idx = _IMGNAME2ID[os.path.basename(img)]
|
120 |
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(text_path_files[0])
|
118 |
text = text_path_files[text_path_files.index(os.path.basename(img).replace("jpg", "txt"))]
|
119 |
img_idx = _IMGNAME2ID[os.path.basename(img)]
|
120 |
if img_idx in _TRAIN_IDX_SET:
|