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

error when tracking other objects by using sort #20

Closed
DeanHao opened this issue Nov 20, 2017 · 2 comments
Closed

error when tracking other objects by using sort #20

DeanHao opened this issue Nov 20, 2017 · 2 comments

Comments

@DeanHao
Copy link

DeanHao commented Nov 20, 2017

HI,bendidi! I met some problem when trying to track cars.
9.893 FPSTraceback (most recent call last):
File "run.py", line 26, in
tfnet.camera()
File "F:\Tracking-with-darkflow\darkflow\darkflow\net\help.py", line 171, in camera
encoder=encoder,tracker=tracker)
File "F:\Tracking-with-darkflow\darkflow\darkflow\net\yolov2\predict.py", line 124, in postprocess
trackers = tracker.update(detections)
File "F:\Tracking-with-darkflow\sort\sort.py", line 213, in update
trk.update(dets[d,:][0])
IndexError: too many indices for array
I use python3.5,am i use the wrong version of python?
thank you!

@obendidi
Copy link
Owner

obendidi commented Nov 20, 2017

should be fixed with latest commit (it's a very bad and simple first fix, but should keep the tracking going until I can think (or anyone else ) of a better method !

@DeanHao
Copy link
Author

DeanHao commented Nov 21, 2017

I found out what the problem is. It comes out when the first frame doesn't show the tracked object.

@DeanHao DeanHao closed this as completed Nov 21, 2017
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