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

Range of detections.shape #1

Open
mssudarsan opened this issue Nov 26, 2019 · 1 comment
Open

Range of detections.shape #1

mssudarsan opened this issue Nov 26, 2019 · 1 comment

Comments

@mssudarsan
Copy link

In Tracker.update file at line 36 "for i in range(detections.shape[0]):"
AttributeError: 'list' object has no attribute 'shape'

Could you please help me on this, Thank you.

@NatLee
Copy link

NatLee commented Jul 21, 2020

In object_track.py,

if (len(centers) > 0):
tracker.update(centers)

The variable centers need to be ndarray.

So, the exception shows you feed list into function update of tracker.

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