Skip to content

Error launch yolo.py or yolo-tiny.py #7

@romain87400

Description

@romain87400

Hello,

When i test your program, with opencv 4.5.5, i have this error.
Do you have an idear, what is the problem ?

Command :
Traceback (most recent call last):
File "python/yolo-tiny.py", line 40, in
if confidence >= 0.4:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Thanks for your answer.
Have a nice day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions