pytorch_influence_functions icon indicating copy to clipboard operation
pytorch_influence_functions copied to clipboard

pass "damp" and "scale" to cacl_influence_single

Open thongnt99 opened this issue 5 years ago • 1 comments

Pass "damp" and "scale" to "cacl_influence_single" method. I found this when trying to fix the "NAN" problem #6.

thongnt99 avatar Dec 14 '20 14:12 thongnt99

@iamgroot42 added a NaN check in his fork to detect when there is numerical instability. Those are probably worth rolling into a pull request (either this one or a separate one).

I did have to make a change to his version to work properly with newer PyTorch versions. I can share code if you like @zatcsc.

ZaydH avatar Jan 17 '21 07:01 ZaydH