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

Decoding FIP loss equation #3

Open
HariniNarasimhan opened this issue Aug 12, 2024 · 0 comments
Open

Decoding FIP loss equation #3

HariniNarasimhan opened this issue Aug 12, 2024 · 0 comments

Comments

@HariniNarasimhan
Copy link

Hi @Guruprasad93 ,
Thanks for this solution to solve catastrophic forgetting and it is very interesting to learn. Please help me to decode the below which I find it difficult to understand.

loss1 = torch.sum(-torch.log(torch.sum(torch.sqrt(output*output_ori+epsAdd), axis=1)))

loss1 = torch.sum(-torch.log(torch.sum(torch.sqrt(output*output_ori+epsAdd), axis=1)))

The loss1 is computed but not used for the loss to back propagate. Can you please help me with reasoning?

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