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

About "reduction" built in KLDivLoss #48

Open
junfish opened this issue Sep 26, 2022 · 0 comments
Open

About "reduction" built in KLDivLoss #48

junfish opened this issue Sep 26, 2022 · 0 comments

Comments

@junfish
Copy link

junfish commented Sep 26, 2022

The reason why your temperature is bigger than the original paper setting (said T = 2) may be caused by KLDivLoss. You may try to set reduction = "batchmean" in KLDivLoss. Just a guess. Welcome others to discuss.

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