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

training using celeba, testing using custom dataset #17

Closed
maliho0803 opened this issue Feb 14, 2019 · 12 comments
Closed

training using celeba, testing using custom dataset #17

maliho0803 opened this issue Feb 14, 2019 · 12 comments

Comments

@maliho0803
Copy link

maliho0803 commented Feb 14, 2019

if I using the model trained by celeba to test my custom images, will it get good results?

@maliho0803 maliho0803 changed the title training using celeba training using celeba, testing using custom dataset Feb 14, 2019
@CastellanLiu
Copy link

I should remind that this model is trained by the aligned CelebA dataset. The results on your custom images may look weird on attributes such as Mouth_Slightly_Open, Mustache, etc., but should be okay on attributes like Hair_Color, Pale_Skin if the face is the main part of your image.
Maybe your can try training the model on the unaligned CelebA dataset.

@maliho0803
Copy link
Author

maliho0803 commented Feb 14, 2019

@CastellanLiuthank you for your reply, if I aligned my custom dataset, may it will get better results? and more, if the methods of gan can not work well out of training data?

@LynnHo
Copy link
Owner

LynnHo commented Feb 14, 2019

@maliho0803 First, you should align your dataset as the CelebA manner. Second, you should provide accurate attributes of your dataset. It is inconvenient for users to do these and therefore a drawback of this project. I will improve it when I have free time. Besides, I test the model on LFW and it works like on CelebA.

@maliho0803
Copy link
Author

@LynnHo when testing, needed images labeled attributes?

@LynnHo
Copy link
Owner

LynnHo commented Feb 14, 2019

@LynnHo when testing, needed images labeled attributes?

Yes.

@maliho0803
Copy link
Author

@LynnHo how do you labeled LFW datasets?

@LynnHo
Copy link
Owner

LynnHo commented Feb 14, 2019

@LynnHo how do you labeled LFW datasets?

I use an attribute predictor trained on CelebA.

@LynnHo LynnHo closed this as completed Feb 14, 2019
@huxianer
Copy link

@LynnHo Could you share the predictor trained on CelebA?Thank you for any help!

@CastellanLiu
Copy link

Maybe you can find what you want in #11

@LynnHo
Copy link
Owner

LynnHo commented May 10, 2019

@huxianer Yes, as @CastellanLiu said, you may refer to #11. Or here is an attribute classifier from STGAN which has the same protocol of our AttGAN.

@huxianer
Copy link

Thanks!

@Varshul
Copy link

Varshul commented Sep 8, 2019

hey @maliho0803 , did you try this on your custom dataset? If yes, then were the results satisfying? Also, can you share your the modified files?

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

5 participants