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

Running code error #11

Open
YueXin18 opened this issue Sep 1, 2023 · 1 comment
Open

Running code error #11

YueXin18 opened this issue Sep 1, 2023 · 1 comment

Comments

@YueXin18
Copy link

YueXin18 commented Sep 1, 2023

May I ask what is the reason for a negative loss value when training a single InfNet model with self supervision?

@darylfung96
Copy link
Owner

With self supervision, the context inpainting model will try to create a mask that is more difficult than what the model can reconstruct, increasing the loss. This will result in negative loss to maximize the loss from the context inpainting model such that the model can generate better reconstruction, just like an adversarial training.

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

2 participants