AhmedImtiazPrio / splinecam

Exact method for visualizing partitions of a Deep Neural Network, CVPR 2023 Highlight
https://imtiazhumayun.github.io/splinecam
MIT License
83 stars 7 forks source link

Can't import wrappers.py while running 2d_inr.ipynb in Colab #3

Open OrionZJ opened 1 year ago

OrionZJ commented 1 year ago
  1. The first problem is the path in 2d_inr.ipynb, "envi" doesn't match the name of folder "splinecam".
  2. In addition, when running program, error occurs that "splinecam has no attribute wrappers".
  3. Finally, I move all the files in the project to path "/content/" in Colab, the program works out.
AhmedImtiazPrio commented 1 year ago

Thanks for bringing this to my attention. The colab (and .ipynb inside the examples folder) was outdated and was working with an initial version of SplineCam (called ENVI). I have fixed the imports and the colab should work out of the box.

Thank you once again!