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

RuntimeError: The size of tensor a (80) must match the size of tensor b (1280) at non-singleton dimension 1 #35

Open
ugroznc opened this issue Oct 30, 2023 · 2 comments

Comments

@ugroznc
Copy link

ugroznc commented Oct 30, 2023

Hi all,

When I run main main.py with my yolov5X model pretrained with ultralytics v5_6.1 on custom images I got this error message.

saliency_map = (weights * activations).sum(1, keepdim=True)
RuntimeError: The size of tensor a (80) must match the size of tensor b (1280) at non-singleton dimension 1

Is there any solution for this?

Best regards.

@tejasri19
Copy link

@ugroznc did u find solution to this error?

@NusratTahira
Copy link

@ugroznc Hi, Did you solve it?

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

3 participants