-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YOLOv8n auto train with 100 epochs starts when in try to use the EigenCAM method #507
Comments
same problem |
I am also facing the same problem. |
same here |
upon inspection it looks like this (no guarantees): thus, to remedy the problem one can either extract the underlying
and then specify the layer one wants to apply cam to it:
or alternatively, one could try to provide a custom wrapper, something like
however, this is not complete, since the output is again not what a disclaimers:
nonetheless, the problem is not with pytorch-grad-cam, the issue can be closed. |
Hi, I want to use the
EigenCAM
technique onmy YOLOv8n model
, preaddestred for a detection task.Once i declare my YOLO .pt weights and I create my tensor image, I try to call the EigenCAM method to generate activation maps with my chosen target layers. Now here's the problem: a 100 epochs automatic training starts.
Even when i put my model in
.eval()
mode this train starts... can someone please help me?Here it is my image in tensors
Here it's when my train starts
These are my chosen target layers
I followed step by step the tutorial with the pretrained YOLOv5 model (EigenCAM puppies) and all things works perfectly in there...
@jacobgil
The text was updated successfully, but these errors were encountered: