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

AttributeError: 'BOTSORT' object has no attribute 'plot_results' #1744

Open
1 task done
nadinator opened this issue Nov 18, 2024 · 2 comments
Open
1 task done

AttributeError: 'BOTSORT' object has no attribute 'plot_results' #1744

nadinator opened this issue Nov 18, 2024 · 2 comments
Labels
question Further information is requested

Comments

@nadinator
Copy link

nadinator commented Nov 18, 2024

Search before asking

  • I have searched the Yolo Tracking issues and found no similar bug report.

Question

Screenshot from 2024-11-18 10-42-51

I cloned the repository, installed all requirements, and thereafter ran python tracking/track.py and started running into the above error.

What's strange is that I'm not even using botsort, though it keeps reverting to that tracker even if I specify a different one, like I did in the screenshot by changing the setting of --tracking-method to "bytetrack".

OS: Ubuntu 20.04.6, python version 3.11.10, ultralytics version 8.3.32, boxmot installed from master with pip install -e .

@nadinator nadinator added the question Further information is requested label Nov 18, 2024
@nadinator
Copy link
Author

I found a workaround by adding the line to the yolo.track call specifying the tracker parameter, shown below. It turns out that ultralytics defaults to the botsort tracker if not otherwise specified. It does this via a callback that gets run right after the first prediction.

Screenshot from 2024-11-18 14-09-15

My workaround didn't solve the problem though. See below. Now it just tells me that BYTETracker has no plot_results method instead...

image

@mikel-brostrom
Copy link
Owner

Cannot reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants