This is the code of Ferry_Li for the 4th DataCV Challenge in conjunction with ICCV workshop 2025: Hybrid Generative Fusion for Efficient and Privacy-Preserving Face Recognition Dataset Generation
The 10K-scale training set is here.
-
Step 1: Use
feature_extractor.pyprovided in https://github.com/HaiyuWu/Vec2Face to extract image embeddings from the current HSFace dataset. -
Step 2: Run
reduce_hsface.pyto record only consistent identity image paths in the HSFace dataset. -
Step 3: Run
gpt_clean_parallel.pyto record inconsistent identity image paths in the HSFace dataset. -
Step 4: Run
convert.pyto convert thejsonformat totxtformat. -
Step 5: Run
hsface_makeup.pyto augment images to 50 per identity, and save the augmented images. -
Step 6: Run
generate_id.pyto generate a new image for one identity based on various prompts. -
Step 7: Use image_generation_with_reference.py to expand one image to 50 per identity.
-
Step 8: Run
merge_dataset.pyto merge the cleaned HSFace dataset and diffusion-Vec2Face-expanded dataset.
