Skip to content

Debugging Segmentation Task #62

Answered by kristian-georgiev
JD-ETH asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for bringing this up! Summing over all pixels' loss seems like a reasonable approach. I'm not sure I can offer much help without more details about the data/code/etc. I'm putting a few guesses below :)

Based on the first point, there might possibly be numerical issues with computing the attribution scores. Often that happens during the matrix inverse computation of $(X^\top X)^{-1}$. A simple check to see if that's the culprit is to set the lambda_reg parameter of your TRAKer instance to some positive number (e.g., you can start with lambda_reg=1e-4).

Another possible source of instability could be the out_to_loss_grad method. A simple check to test that is to simply skip it, or mo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kristian-georgiev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation invalid This doesn't seem right
2 participants