You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version: 3.7.13
Is CUDA available: No
CUDA runtime version: 11.1.105
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5
The text was updated successfully, but these errors were encountered:
Bug description
Dear fellow,
When I execute the following line :
`# Once you're finished, clear the hooks on your model
cam_extractor.clear_hooks()
I'm getting this error :
---------------------------------------------------------------------------AttributeError Traceback (most recent call last)
in ()
1 # Once you're finished, clear the hooks on your model
2
----> 3 cam_extractor.clear_hooks()
4
AttributeError: 'SmoothGradCAMpp' object has no attribute 'clear_hooks'`
Do you have any idea to correct this ?
Thanks in advance
Code snippet to reproduce the bug
'''
`# Once you're finished, clear the hooks on your model
cam_extractor.clear_hooks()
'''
Error traceback
'''
`# Once you're finished, clear the hooks on your model
cam_extractor.clear_hooks()
'''
Environment
Collecting environment information...
TorchCAM version: 0.3.2.dev0+5c83d3a
PyTorch version: 1.10.0+cu111
OS: Ubuntu 18.04.5 LTS
Python version: 3.7.13
Is CUDA available: No
CUDA runtime version: 11.1.105
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5
The text was updated successfully, but these errors were encountered: