haoosz / FFR-Net

PyTorch code for ICIP 2022 paper "A Unified Framework for Masked and Mask-Free Face Recognition via Feature Rectification"
MIT License
34 stars 3 forks source link

Could you share your PDSN code? #2

Closed fanfan1998 closed 1 year ago

haoosz commented 2 years ago

Please see this work PDSN.

fanfan1998 commented 2 years ago

Hello, what are casia_cleanlist.txt and lfw_pairs.txt in dataloader.py? Can you share them with me? What kind of preprocessing should the datasets CASIA and LFW undergo? The models.net_sphere in lfw_eval.py also seem to be missing. Thanks for your answer!

haoosz commented 2 years ago
  1. The download links of datasets and txt files have been added in README. Please check it.
  2. The preprocessing is face alignment and cropping (with ground-truth face landmarks). The data shared in this repo has been preprocessed beforehand and you can directly load it.
  3. models.net_sphere is an old model just for debugging. You don't need to run lfw_eval.py and you can just ignore it.

Hope the above is helpful to you. Thanks.