We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/AberHu/Knowledge-Distillation-Zoo/blob/65470c846c1300d555815da26999cbe2b51fc815/kd_losses/lwm.py#L29C3-L29C74
I found that weights_t should be multiplied to fm_t to generate the grad-cam. cam_t = torch.sum(torch.mul(weights_t, grad_fm_t), dim=1, keepdim=True)
weights_t
fm_t
cam_t = torch.sum(torch.mul(weights_t, grad_fm_t), dim=1, keepdim=True)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/AberHu/Knowledge-Distillation-Zoo/blob/65470c846c1300d555815da26999cbe2b51fc815/kd_losses/lwm.py#L29C3-L29C74
I found that
weights_t
should be multiplied tofm_t
to generate the grad-cam.cam_t = torch.sum(torch.mul(weights_t, grad_fm_t), dim=1, keepdim=True)
The text was updated successfully, but these errors were encountered: