This project is tested under the following environment settings:
- OS: Ubuntu 18.04.3
- GPU: Geforce 2080 Ti or Tesla P100
- Cuda: 9.0, Cudnn: v7.03
- Python: 3.5.2
- TensorFlow: 1.9.0
- PyTorch: >= 1.4.0
- Torchvision: >= 0.4.0
- Please download LFW, Put LFW dataset and
pairs.txt
todata
. - Put some specific target images to
targets
Running command for crafting identity masks:
python run.py
If you benefit from our work in your research, please consider to cite the following paper:
@InProceedings{Yang_2021_ICCV,
author = {Yang, Xiao and Dong, Yinpeng and Pang, Tianyu and Su, Hang and Zhu, Jun and Chen, Yuefeng and Xue, Hui},
title = {Towards Face Encryption by Generating Adversarial Identity Masks},
booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
month = {October},
year = {2021},
pages = {3897-3907}
}