TexasInstruments / edgeai-yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite. Forked from https://ultralytics.com/yolov5
https://github.com/TexasInstruments/edgeai
GNU General Public License v3.0
650 stars 120 forks source link

problems of decreasing accuracy of model quasi transformation(yolov5.onnx --> yolov5.bin ) #13

Open lilyswang opened 2 years ago

lilyswang commented 2 years ago

❔Question

 Hi , @mathmanu @kumardesappan ,thanks for your nice work!   I encountered some problems when I was converting the model,(yolov5s .onnx  --->  yolov5s.bin   input_size[576x960]).  
 I use the [tidl_model_import.out(version:8.0)] to do this 。Before the quantification of the model, the position of the target box is very accurate (as shown in Figure 1 below). After the quantification, the position of the visualized target box becomes worse (as shown in Figure 2 below). I would like to ask for possible reasons. Thanks  a lot!

Additional context

[Running TIDL in PC emulation mode to collect Activations range for each layer] picture 1: [Running TIDL in PC emulation mode to collect Activations range for each layer] image **[***** Calibration iteration number 0 completed ****]** picture 2 : image

Convert TXT screenshot: image Looking forward to your reply. ^-^

lilyswang commented 2 years ago

image

lilyswang commented 2 years ago

image

lilyswang commented 2 years ago

image I change the numFrames to 2000 but the position of the bounding box is still poor ! (==!)