Skip to content

Self test fails for YOLOv5Net #166

@ChrisDodgeSymetri

Description

@ChrisDodgeSymetri

Windows version 2.9.2, happens on 2 machines... I dont know if it happened with the previous version.

I noticed during initialize the log mentioned Self test: Self-test failed for YOLOv5Net.

When I run the selftest manually it also fails:

C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\bin>ObjectDetectionYOLOv5Net.exe --selftest
fail: CodeProject.AI.Modules.ObjectDetection.YOLOv5.ObjectDetector[0]
      Unable to load the model at C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\bin\assets\yolov5m.onnx
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\bin
info: Microsoft.Hosting.Lifetime[0]
      Application is shutting down...

Temp Fix: Copy:

C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\assets

To

C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\bin\assets

Now self test passes.

WOULD that have caused any deeper issues?

And maybe this folder needs moving also?
C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\custom-models

This may be the source of the bug?

C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5Net\install.bat
call "%utilsScript%" GetFromServer "binaries/" "!imageName!" "bin" "Downloading !imageName!..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions