Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssd_mobilenet_v2_320x320 converting to Onnx #2355

Open
YigitKaanBingol opened this issue Aug 27, 2024 · 0 comments
Open

ssd_mobilenet_v2_320x320 converting to Onnx #2355

YigitKaanBingol opened this issue Aug 27, 2024 · 0 comments
Labels
question An issue, pull request, or discussion needs more information

Comments

@YigitKaanBingol
Copy link

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 YigitKaanBingol added the question An issue, pull request, or discussion needs more information label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question An issue, pull request, or discussion needs more information
Projects
None yet
Development

No branches or pull requests

2 participants
@YigitKaanBingol and others