tensorflow-onnx icon indicating copy to clipboard operation
tensorflow-onnx copied to clipboard

ssd_mobilenet_v2_320x320 converting to Onnx

Open YigitKaanBingol opened this issue 6 months ago • 0 comments

Hello everyone, I've train ssd_mobilenet_v2_320x320 pretrained model with custom dataset via tensorflow2.x object detection api and exported to saved model with using exporter_main_v2.py. Everything works fine when inference it using tensorflow. And then i tried to convert saved_model to onnx format for using in opencv readNet for some reasons. But opencv gives error in :

cv2.readNet("model.onnx") The error is : (-2215 Assertion failed) (bool) layer in function 'runLayer' Onnx model looks weird in netron.

Screenshot from 2024-08-27 15-17-24

So anyone having the same issue? Thank you for every answers or suggestions.

YigitKaanBingol avatar Aug 27 '24 13:08 YigitKaanBingol