This repository is an implementation of the ICCV 2023 paper "Hiding Visual Information via Obfuscating Adversarial Perturbations".
This project is tested under the following environment settings:
data/align
.checkpoints
. We provide a pre-trained model for testing in face recognition tasks.Running command to encrypt the image:
python main.py --model pix2pix --task face_recognition
Running command to encrypt the image:
python main.py --model pix2pix --task classification --src_model Resnet18 --batch_size 10 --root ./data/cif
This code is built on CycleGAN, TIP-IM and MS-SSIM. We thank the authors for sharing the codes.