YOLOv5 .NET not detecting anything #350
Unanswered
jrodrigoferreira
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I'm running codeproject.ai 2.9.5 with Yolov5 .NET (no CUDA on this machine, need to use the CPU) and I while the model seems to run properly I can't get it to detect anything, always comes up with nothing detected.
I tried using all the models (small to large), custom models, through curl and through the example html form, and with different types of images (including the sample ones that should work fine). Even resized the images to 640x640 manually, just in case the preprocessing wasn't working properly, but nothing.
This:
curl -X POST "http://localhost:32168/v1/vision/detection" -F "image=@zidane.jpg"
Always returns this:
{"message":"No objects found","count":0,"predictions":[],"inferenceDevice":"CPU","inferenceMs":294,"processMs":294,"analysisRoundTripMs":301,"success":true,"moduleName":"Object Detection (YOLOv5 .NET)","moduleId":"ObjectDetectionYOLOv5Net","command":"detect","requestId":"136082c9-6665-4be5-a435-018f5bc17dbd","processedBy":"localhost","timestampUTC":"Fri, 10 Oct 2025 00:23:28 GMT"}
This particular one is with the small model, but I get the same with all.
Any tips? ;)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions