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 and performance #48

Open
dongli96 opened this issue Dec 11, 2024 · 0 comments
Open

Loss and performance #48

dongli96 opened this issue Dec 11, 2024 · 0 comments

Comments

@dongli96
Copy link

Hello,

Thank you for your nice code.

I noticed that in the training process, the batch loss always oscillated within the range of 0.02~0.07 and did not descent a lot even the model is trained for like 100 epochs. But I indeed saw the improved quality of generated images as the training proceeds.

I know you alreay discussed a similar issue in #40. But it is still my curiosity that why the generation quality improves with the loss plateauing. My guess is that in the first epochs the model makes small mistakes for nearly all the samples while in the later epochs the model predicts exactly for most samples while making big mistakes at some minor samples, which makes the overall loss value close but the performance different.

I looking forward to hearing your insightful ideas.

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

1 participant