tcav
tcav copied to clipboard
result not reproduced by taking gradient wrt logit and flipping sign
I had the same doubt as https://github.com/tensorflow/tcav/issues/83 https://github.com/tensorflow/tcav/issues/107 https://github.com/tensorflow/tcav/issues/41
I flipped the sign for tcav calc (< changed to >)and took gradient wrt logit(unnormalized output of network, self.pred).
Still, I am not getting the same tcav scores as when grad wrt loss and tcav calc sign being <
Why is this happening? @BeenKim ?
So the output for importance of zebra in inception network when wrt loss and < sign
whereas when wrt output and > sign I get this
