-
Notifications
You must be signed in to change notification settings - Fork 129
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
It looks like z-sem is not being trained #77
Comments
Can you show me the smallest working code? |
Sure, here is the code cond = model.encode(input_image) plt.imsave('image.png', pred) When I ran the code, the image was maked successfully, but the problem is that when I change the input_image to a different image, the same result is maked. |
I cannot reproduce your problem. Can you provide the whole notebook with the results of encoding of both images? |
All right. I'll show you the whole process in detail Fisrt, I used the 98 epochs model learned from run_ffhq128.py. As you know, the file is divided into four parts, and only the first part was executed to learn only the autoencoder part. gpus = [0, 1, 2, 3, 4, 5, 6, 7] Second, I used an images of a person's face captured on Google as input To show the problem I was talking about, I conducted a total of four experiments.
According to the above results, cond has no effect on the result image at all. Result is only affected by x_T. This doesn't make sense, because according to the paper, z-sem(cond) has more influence on the resulting image than x_T. |
|
|
|
Thank you again for your advice. Additionally, I confirmed that the values of some parameters related to the encoder were zero for the checkpoint model I used. |
What does "aligned" mean? |
Hi, thank you for your excellent research!
While performing inference through an autoencoder, I consistently obtained the same output regardless of the input image(depends only x_T).
I tried training with my own data and FFHQ dataset, but the same phenomenon occurred in both cases.
I think it might be related to the issue of the gradient of z-sem becoming zero, which was raised by another person, and since there was no response to that post, I decided to raise it again.
(#63)
Thank you.
The text was updated successfully, but these errors were encountered: