You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Search before asking
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?
The text was updated successfully, but these errors were encountered: