Datasets:
ArXiv:
DOI:
License:
Commit
·
5de3fcb
1
Parent(s):
db1c650
Update VGGFace2.py
Browse files- VGGFace2.py +1 -1
VGGFace2.py
CHANGED
@@ -172,7 +172,7 @@ class VGGFace2(datasets.GeneratorBasedBuilder):
|
|
172 |
for file_path, file_obj in images:
|
173 |
if file_path.startswith(_IMAGES_DIR):
|
174 |
if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
|
175 |
-
|
176 |
|
177 |
label = file_path.split("/")[2]
|
178 |
yield file_path, {
|
|
|
172 |
for file_path, file_obj in images:
|
173 |
if file_path.startswith(_IMAGES_DIR):
|
174 |
if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
|
175 |
+
clip_index = int(clip.stem)
|
176 |
|
177 |
label = file_path.split("/")[2]
|
178 |
yield file_path, {
|