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

not enough values to unpack (expected 5, got 4) #19

Open
kunge98 opened this issue Mar 22, 2024 · 3 comments
Open

not enough values to unpack (expected 5, got 4) #19

kunge98 opened this issue Mar 22, 2024 · 3 comments

Comments

@kunge98
Copy link

kunge98 commented Mar 22, 2024

python>=3.8
pip install ultralytics==8.0.48
pip install pyside6==6.4.2
python main.py

The problem still occurs when I try to figure out how to run the operation,What should I do

@mindmad
Copy link

mindmad commented Apr 4, 2024

@kunge98
have you found a sloution for it

@Little-devil-cat
Copy link

main function line 134
path, im, im0s, vid_cap, s = batch
The batch variable does not pass video data to the vid_cap variable and s variable, so the error occurs. Using cv2 to read video data separately for the vid_cap variable and the s variable can solve this problem, but there are still many bugs elsewhere.

@yudongwei1
Copy link

ModuleNotFoundError: No module named 'utils.capnums'

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

4 participants