Open
Description
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!