Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference on StyleGAN-generated images #3

Closed
ilopezfr opened this issue Dec 3, 2019 · 2 comments
Closed

Inference on StyleGAN-generated images #3

ilopezfr opened this issue Dec 3, 2019 · 2 comments

Comments

@ilopezfr
Copy link
Contributor

ilopezfr commented Dec 3, 2019

I'm trying to use AutoGAN to detect StyleGAN-generated facial images.

  • Do you have any examples of how to run the detector in any random image?
  • Are any of the models in the Google Drive pre-trained with facial images?

Thanks!

@spongezhang
Copy link
Collaborator

Please refer to https://github.com/ColumbiaDVMM/AutoGAN/blob/master/code/cycleGAN_dataset.py

The basic thing is that to create a numpy array of real and fake images with labels. Then you can run my test code.

Unfortunately, I don't have models trained with StyleGAN. The only model I have in Google Drive is a model trained with all training images in CycleGAN and you can test it with StarGAN. https://drive.google.com/open?id=1IZZ5QCLbzAmrPDHh7EdOigPCdz46zPc6

As we mentioned in the paper, since cyclegan and stylegan use different upsampler, the model won't work with stylegan image. You may want to train your own model with stylegan images to see what happens.

Hope that helps you. Let me know if you have any further questions.

Best,
Xu

@ilopezfr
Copy link
Contributor Author

ilopezfr commented Dec 5, 2019

Got it! I'll try that out when I get a chance. Thank you!

@ilopezfr ilopezfr closed this as completed Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants