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

Some question for reproduce #6

Open
xxxxoo000xxo opened this issue Jul 16, 2021 · 1 comment
Open

Some question for reproduce #6

xxxxoo000xxo opened this issue Jul 16, 2021 · 1 comment

Comments

@xxxxoo000xxo
Copy link

Thank you for your wonderful work on GAN generated image detection. Since most experiments in your paper are performed on person instead of other objects, we have tried to test your model on the dataset provided by CNNDetector ([33] in your paper). The experiment is performed on a workstation with Windows system, and we follow the guide in Readme (what we modified is only the data path), but we cannot run it correctly. It shows "TypeError: cannot serialize '_io.TextIOWrapper' object", at 'for i, data in enumerate(dl):' in test.py.

Would you pleased provide some advice ? Hope for your reply soon.

@chail
Copy link
Owner

chail commented Jan 19, 2022

Hi, unfortunately I haven't tested it on a Windows system. I'm not certain if it would be caused by input path; seems that the UnpairedDataset object takes in a path which is directly a folder of images (without subfolders). One difference to note between CNNDetector and the models here is that these models were trained exclusively on face domain.

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