Unable to detect objects using Yolov5 #175
-
After following the guide in axis-model-zoo, I was able to load the model and run it on our P3265 with 11.8 Firmware. However, I am getting Considering the format of yolov5 output Where the array represents the first 5 values of the I need help in decoding the output of the yolov5 tflite model. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi, The first 5 "entries" of your output may have zero likelihood. To debug your model, I would suggest to test first the output of the tflite on your local machine. |
Beta Was this translation helpful? Give feedback.
-
Hi @Corallo , I would like to ask you about working with Yolo models on that cameras as I'm currently a little bit stoked on an issue. I'm trying to run inference on a LVE-P3268 camera with yolov5n.tflite exported model. The output I receive from processing an image has a shape of [1, 25200, 85]. This is a sample of the output: About the dimensions, I already understood that:
The point is that I'm not being able to process that output to obtain human readable results. Do I have to apply any specific post processing? As the output seems to be quantized. I've tried to apply sigmoid to objectness and classes confidence, but the results of the objectness doesn't make sense as most of the values are almost 1. Thank you in advance and best regards! |
Beta Was this translation helpful? Give feedback.
Hi @Corallo,
Thank you for pointing out the sorting of 'conf'. As it turns out, we were not processing the output tensor correctly and getting no results.