-
Notifications
You must be signed in to change notification settings - Fork 84
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
Reproducing season translation results #1
Comments
Hello!@luckfisher Thank you! |
@lukfischer Thanks for your interests on our work. So sorry for the late reply, and I'll check the
As for producing identical input images, you may refer to LynnHo/AttGAN-Tensorflow#7 to see if your're meeting with the same problem. I also met with the question once before, and I remember that after I fixed a bug, everything went fine, but I'm sorry that I don't remember what was wrong. |
@wxqTS Hi, I don't know what happend, yet there is a small bug in the released code, Line 360 in 1896596
/ thres_int is identical to * 2 since thres_int is set to 0.5 by default. However, I deleted the / thres_int in the test code when merging test_slide.py , test_single.py and test_multi.py . So, if you find the validation results looks fine but the testing results are not so good, you can add --test_int 2 , which performs the same as / 0.5 . And you could try other numbers, 1.5 for example.The released model was trained for 130 or 140 epochs, but I dont't remember the certain number. No other tricks are used to train the CelebA model, yet you may explore different tradeoff parameters and new techniques such as Spectral Norm. |
Hi! @wxqTS I have the same problem. When I train the model to do the facial attribute editing task, the result doesn't converge sometimes using author's code and the default config. It seems that the faces generated have little change compared to the source face images. |
I checked my code and found that there is a small bug in the evaluation code, I'll update the repo ASAP (maybe today or tomorrow). So sorry for the mistake. Updated. |
Hello! Thanks in advance. |
Yes, the total number of samples in the first line, and attributes in the second line (though not used), and image name and attribute labels (for a single sample) in each line. |
Attributes in the second line is not necessary? |
Not used in the Line 156 in 2ef612e
|
Got it. Thank You! |
Hello!
First of all I want to thank you for this very interesting work and of course for sharing your implementation!
I was trying to reproduce your season translation results (yosemite dataset) but cant get it working.
I made a separate dataset class similar to the existing Celeba one to load the yosemite data, set the att_dict to {'summer': 0, 'winter': 1} and specified label pairs for each image (e.g. [1, -1] summer, [-1, 1] winter).
I tried training the STGAN with diff and target label parameter, but it did not help. The generated images during training (sample_training) as well as when using the test function always show the identical input images.
Is there a special parameter configuration needed to achieve image2image translation results?
Would you mind sharing your implementation for this experiment too?
Thank you in advance!
The text was updated successfully, but these errors were encountered: