mapooon / SelfBlendedImages

[CVPR 2022 Oral] Detecting Deepfakes with Self-Blended Images https://arxiv.org/abs/2204.08376
Other
185 stars 32 forks source link

How to include landmark augmentation? #26

Closed Ankit2527 closed 1 year ago

Ankit2527 commented 1 year ago

Hi @mapooon , Can you explain how to included landmark augmentation in the code? I have put the repo inside the mentioned folder, but how do you use it inside the sbi training code?

mapooon commented 1 year ago

After executing the command below, it is automatically used in the training code.

mkdir src/utils/library
git clone https://github.com/AlgoHunt/Face-Xray.git src/utils/library

If it is successfully installed, you can see the output "exist library" when you run the training.

Ankit2527 commented 1 year ago

Thank you @mapooon, it worked after changing the paths in the 2 lines above print('exist library').