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

how do you initialize the tracker? I have problems when I run main.py as shown below. #33

Open
bosunrunner opened this issue Aug 30, 2020 · 1 comment

Comments

@bosunrunner
Copy link

Traceback (most recent call last):
File "E:/PycharmProject/Vehicle-Detection-and-Tracking/main.py", line 201, in
image_box = pipeline(image)
File "E:/PycharmProject/Vehicle-Detection-and-Tracking/main.py", line 115, in pipeline
= assign_detections_to_trackers(x_box, z_box, iou_thrd=0.3)
File "E:/PycharmProject/Vehicle-Detection-and-Tracking/main.py", line 71, in assign_detections_to_trackers
if IOU_mat[m[0], m[1]] < iou_thrd:
IndexError: index 0 is out of bounds for axis 0 with size 0
matched_idx:(array([], dtype=int32), array([], dtype=int64)),shape:(2, 0)
matched_idx:(array([], dtype=int32), array([], dtype=int64)),shape:(2, 0)

#########################
Can you tell me how to solve it? Thank you?

@ntquyen11
Copy link

I have the same problem and I don't know why having 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

2 participants