Replies: 3 comments 3 replies
-
Hi, i have the same issue. did you solve it? |
Beta Was this translation helpful? Give feedback.
-
Hi 👋, torch-cam provider @frgfm, thanks to your time. I have the same issue. For all the methods like CAM, GradCAM and LayerCAM etc, the program will report this error 'AttributeError: 'tuple' object has no attribute 'shape''. Could you give me some help? Thanks very much. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone 👋 Apologies for the late reply! Long story short: the library was initially designed for highway networks (taking 1 input, returning 1 output). I've modified it over time to accomodate new models. So actually there are two topics at end here:
If some of you are willing, I'm happy to chat about improvements that could be made and how you can help as I indeed want all types of Pytorch models to be correctly supported 😄 Take care! |
Beta Was this translation helpful? Give feedback.
-
In my model, I have a module like
thus report AttributeError
any methods to avoid this?
Beta Was this translation helpful? Give feedback.
All reactions