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

Why the "score2 = -val_loss2" in EarlyStopping class? #69

Open
zixuan-go opened this issue Jul 24, 2024 · 0 comments
Open

Why the "score2 = -val_loss2" in EarlyStopping class? #69

zixuan-go opened this issue Jul 24, 2024 · 0 comments

Comments

@zixuan-go
Copy link

In minimize training step, the training goal is to minimize the association discrepancy, the prior_loss in "loss2 = rec_loss + self.k * prior_loss" tends to 0. Therefore, the overall trend of loss2 tends to 0 too.

So why choose "score2 = -val_loss2" instead of "score2 = val_loss2" when the judgment logic is "score2 < self.best_score2 + self.delta"?

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