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

Inhomogeneous shape #9

Open
maxfagotto opened this issue May 23, 2023 · 4 comments
Open

Inhomogeneous shape #9

maxfagotto opened this issue May 23, 2023 · 4 comments

Comments

@maxfagotto
Copy link

maxfagotto commented May 23, 2023

I run start.sh in cctv branch with your test.jpg image but I have this issue:

Traceback (most recent call last):
File "cctv/capture_track.py", line 247, in
tracker_preds = tracker.update(preds, curr_frame)
File "/dev/plitter/./Yolov5_StrongSORT_OSNet/trackers/strong_sort/strong_sort.py", line 91, in update
outputs.append(np.array([x1, y1, x2, y2, track_id, class_id, conf, queue]))
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (8,) + inhomogeneous part.

@sriramreddyM
Copy link
Collaborator

Could you run start_cctv.sh successfully?

@maxfagotto
Copy link
Author

Could you run start_cctv.sh successfully?

Yes I could. I commented cap instance in capture.py and I run start_cctv.sh with your img0 test.jpg.

@sriramreddyM
Copy link
Collaborator

Great, I will try to reproduce the error from start.sh and fix it sooner in a day or two. If you fix it in mean time please send PR. Thanks.

Please also let me know if you are running it from jetson nano or any other SCB?

@maxfagotto
Copy link
Author

Great, I will try to reproduce the error from start.sh and fix it sooner in a day or two. If you fix it in mean time please send PR. Thanks.

Please also let me know if you are running it from jetson nano or any other SCB?

Now I'm testing on a pc with an Nvidia gt1030 and then in a jetson nano

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

2 participants