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

ValueError: too many values to unpack (expected 4) #2

Open
muhammadabdullah34907 opened this issue Aug 30, 2021 · 0 comments
Open

ValueError: too many values to unpack (expected 4) #2

muhammadabdullah34907 opened this issue Aug 30, 2021 · 0 comments

Comments

@muhammadabdullah34907
Copy link

Hi, thank you for sharing the code. I have got this error. any idea ? I tried to make sure that versions doesn't mis-match but still got this.

(1, 3, 80, 80, 6)
Traceback (most recent call last):
  File "main_yolov5.py", line 116, in <module>
    dets = yolonet.detect(srcimg)
  File "main_yolov5.py", line 89, in detect
    bs, _, ny, nx = outs[i].shape  # x(bs,255,20,20) to x(bs,3,20,20,85)
ValueError: too many values to unpack (expected 4)
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