2021年3月11日星期四

convert yolov5s.pt to openvino IR format success, predict stuff failed

This is begin from curious....I download the pretrained yolov5s.pt from public google drive, and convert it as yolov5s.onnx file with input shape [1,3,640,640] by using yolov5's models/export.py. Then I use openvino's deployment tools/mo.py to convert the yolov5s.onnx into openvino interference engines file (.xml+.bin). The convertion is success without errors. At last, I try to run the predict by using these files by using openvino's demo program the prediction is successfully return the result. But all the result return negative numbers, and the array level is wrong. Is it impossible to convert the yolov5 weights for openvino?

https://stackoverflow.com/questions/66593210/convert-yolov5s-pt-to-openvino-ir-format-success-predict-stuff-failed March 12, 2021 at 10:08AM

没有评论:

发表评论