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计算 #3

Open
didi226 opened this issue Mar 1, 2023 · 1 comment
Open

关于loss计算 #3

didi226 opened this issue Mar 1, 2023 · 1 comment

Comments

@didi226
Copy link

didi226 commented Mar 1, 2023

为什么
def get_loss(self, output, target_category):
return output[target_category]
计算loss不是计算output 和target_category的差异

@liguge
Copy link
Owner

liguge commented Mar 7, 2023

这个建议问问读读原文,或者原作者,其实我也不知道。
https://github.com/jacobgil/pytorch-grad-cam
在这里提问。

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