Categories
Misc

deploy an ssd mobilenet model trained with tf2 on opencv

I’ve been trying to deploy an SSD-mobilenet model on OpenCV so I can use it raspberry pi for the past week with no solution. After deploying the model with tensorflow 2. I tried to freeze it and deploy it on OpenCV But it gives an error : permIds.size() == net.node_size(). After so much digging I realized it was due to eager execution caused by TF2 that gives “StatefulPartitionedCall ” which is not supported by openCV. I tried converting to onnx but still got error due ti the same thing. Now my only hope resides on this community. I’m thankfull to any kind of help. the github repo contains the saved model along with all important details Thank you again The github repo of savedmodel along with important infos:github

submitted by /u/reyloll
[visit reddit] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *