Skip to content
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

使用main进行heatmap热力图可视化报错 #269

Open
Leezzzzz opened this issue Aug 13, 2024 · 0 comments
Open

使用main进行heatmap热力图可视化报错 #269

Leezzzzz opened this issue Aug 13, 2024 · 0 comments

Comments

@Leezzzzz
Copy link

使用main进行heatmap热力图可视化报如下错误
File "C:\Users\LiZhentao\Desktop\YOLOv5-Lite-master\YOLOv5-Lite-master\scripts\Grad_Cam.py", line 251, in forward
prediction, logits, _ = self.model(img, augment=False)
ValueError: not enough values to unpack (expected 3, got 2)
模型使用的是v5lite-g.pt,target-layer为model_23_m_2_cv2

image image 请问如何解决
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant