Datasets:
ArXiv:
DOI:
License:
Commit
·
e04feae
1
Parent(s):
afa5c86
Update VGGFace2.py
Browse files- VGGFace2.py +1 -1
VGGFace2.py
CHANGED
@@ -157,7 +157,7 @@ class VGGFace2(datasets.GeneratorBasedBuilder):
|
|
157 |
temp.drop(columns=['Image_Path'], inplace=True)
|
158 |
|
159 |
result_df = meta.merge(temp, on='Class_ID', how='outer')
|
160 |
-
|
161 |
for file_path, file_obj in paths:
|
162 |
if file_path.startswith(_IMAGES_DIR):
|
163 |
if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
|
|
|
157 |
temp.drop(columns=['Image_Path'], inplace=True)
|
158 |
|
159 |
result_df = meta.merge(temp, on='Class_ID', how='outer')
|
160 |
+
raise Exception(result_df)
|
161 |
for file_path, file_obj in paths:
|
162 |
if file_path.startswith(_IMAGES_DIR):
|
163 |
if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
|