Datasets:

ArXiv:
DOI:
License:
ProgramComputer commited on
Commit
afa5c86
·
1 Parent(s): 9126851

Update VGGFace2.py

Browse files
Files changed (1) hide show
  1. 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(df2, on='Class_ID', how='outer')
160
- print(meta)
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: