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

Loss starts to diverge When the discriminator opens #28

Open
cbyzju opened this issue Mar 1, 2024 · 5 comments
Open

Loss starts to diverge When the discriminator opens #28

cbyzju opened this issue Mar 1, 2024 · 5 comments

Comments

@cbyzju
Copy link

cbyzju commented Mar 1, 2024

I try to train VQGAN on UCF-101 dataset with 4 A100s, and 24 samples for each device, recontruction and perceptual loss could converge normally, until the discriminator is opened in 10k steps. In addtion, the commitment loss diverge from the start time, How can I fix it?
image
image

@wdrink
Copy link

wdrink commented Mar 3, 2024

Same issue here. Expect the authors to provide the script to reproduce the results on UCF-101🙏

@songweige
Copy link
Owner

What does the reconstruction look like at these steps? I could try to provide more helps after the ECCV deadine!

@wdrink
Copy link

wdrink commented Mar 3, 2024

It seems the model learns well until the discriminator is opened in 10k steps. After the discriminator is opened, the reconstructed images are blurred w/o any texture and even semantics.

@songweige
Copy link
Owner

Hi @wangjk666, sorry for the late follow-up! I hope you have resolved the issue but just in case not, I have some suggestions on what might help. So the GAN loss is notoriously hard to tune but it can get better/sharper results in my experience. We also discussed a bit about this in the appendix A.1. Perhaps you could also refer to some more modern techniques people use to stabilize discriminative losses, e.g. ADD Sec 3.2.

@Dongzhikang
Copy link

Same issue here. GAN loss even crashes the result.

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

4 participants