albermax / innvestigate

A toolbox to iNNvestigate neural networks' predictions!
Other
1.24k stars 235 forks source link

I have rather basic issue, I am having trouble in importing 'import utils.imagenet as imagenetutils' [BUG] #290

Closed atifkhanncl closed 1 year ago

atifkhanncl commented 1 year ago

Describe the bug

After installing innvestigate, I can import it but utils.imagenet i can't. Can you let me know if there are extra packages I have to install

"import utils as eutils
import utils.imagenet as imagenetutils"

Expected behavior

ModuleNotFoundError: No module named 'utils'

Platform information

adrhill commented 1 year ago

Hi @atifkhanncl,

I'm guessing you tried running the notebooks in the example folder. import utils.imagenet imports the module in /examples/utils, which is not part of iNNvestigate itself.

You have to copy/clone the entire /examples/utils folder to run the notebooks locally.