Datasets:
ArXiv:
DOI:
License:
Commit
·
afa5c86
1
Parent(s):
9126851
Update VGGFace2.py
Browse files- VGGFace2.py +2 -2
VGGFace2.py
CHANGED
@@ -156,8 +156,8 @@ class VGGFace2(datasets.GeneratorBasedBuilder):
|
|
156 |
|
157 |
temp.drop(columns=['Image_Path'], inplace=True)
|
158 |
|
159 |
-
result_df = meta.merge(
|
160 |
-
print(
|
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:
|
|
|
156 |
|
157 |
temp.drop(columns=['Image_Path'], inplace=True)
|
158 |
|
159 |
+
result_df = meta.merge(temp, on='Class_ID', how='outer')
|
160 |
+
print(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:
|