Skip to content

Counting Bug #230

Open
Open
@BahaaDurmus

Description

@BahaaDurmus

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions