captum icon indicating copy to clipboard operation
captum copied to clipboard

No module named 'captum.influence'

Open jlubao opened this issue 3 years ago • 5 comments

📚 Documentation

The tutorial from https://captum.ai/tutorials/TracInCP_Tutorial throws an error when importing the needed libraries.

No module named 'captum.influence'

my library versions:

captum == 0.4.1 pytorch == 1.9.0

jlubao avatar Apr 29 '22 08:04 jlubao

Hello. The tutorial is working with the versions: captum == 0.5.0 pytorch == 1.11.0

Maybe updating your libraries might help. BR

felixmeyjr avatar Apr 29 '22 13:04 felixmeyjr

hi @jlubao , as @felixmeyjr said, captum.influence is a new function introduced in the latest version 0.5.0. You may refer to our change logs for details https://github.com/pytorch/captum/releases

aobo-y avatar May 04 '22 05:05 aobo-y

Hi @aobo-y, are there plans to implement any other methods, i.e., such as Representer Points, Fisher Kernels or even Influence functions? Or does this not make sense due to current papers suggesting otherwise? Thanks

felixmeyjr avatar May 04 '22 07:05 felixmeyjr

Hi @felixmeyjr we are open to implementing other methods if there is an unmet need - would be interested to learn about your possible use cases.

99warriors avatar May 06 '22 03:05 99warriors

Hi @99warriors, I'm currently looking into the Representer Points paper, to check if there are any additional use cases, where it would make sense to implement this. I'll let you know as soon as I know. Thanks. BR

felixmeyjr avatar May 06 '22 07:05 felixmeyjr