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

Counting Bug #231

Open
2 tasks done
mstfdmrr opened this issue Dec 3, 2023 · 0 comments
Open
2 tasks done

Counting Bug #231

mstfdmrr opened this issue Dec 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mstfdmrr
Copy link

mstfdmrr commented Dec 3, 2023

Search before asking

  • I have searched the Roboflow Notebooks issues and found no similar bug report.

Notebook name

how-to-detect-and-count-objects-in-polygon-zone

Bug

File "C:\PycharmProjects\yolocount\test.py", line 81, in
zada()
File "C:\PycharmProjects\yolocount\test.py", line 62, in zada
labels = [
^
File "C:\PycharmProjects\yolocount\test.py", line 63, in
f"{model.names[int(class_id)]} {confidence:0.2f}"
TypeError: unsupported format string passed to NoneType.format

Environment

Python: 3.9.0

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@mstfdmrr mstfdmrr added the bug Something isn't working label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant