You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having the same error. Opencv DNN is really difficult to use. I have tried to convert tf 2 model to onnx model. I can successfully use it in python onnx module. But I cannot read it using opencv dnn.
I think that the Conv2DTranspose is not implemented yet and this may cause some problems during the conversion. I have also other issues when there is asymmetric padding applied by Tensorflow
@opencv-alalek why this issue is incomplete? I can reproduce error usng opencv-5.0 pre
cv2.error: OpenCV(5.0.0-pre) C:\lib\opencv\modules\dnn\src\tensorflow\tf_importer.cpp:2853: error: (-2:Unspecified error) Input layer not found: StatefulPartitionedCall/StatefulPartitionedCall/my_net/Decoderblock1/conv2d_transpose/stack/1 in function cv::dnn::dnn5_v20231225::anonymous-namespace'::TFImporter::connect'
I'm trying to load my Tensorflow model with opencv DNN as follows:
1:
2:
3:
but I get the following error:
Tensorflow version: 2.5.0
OpenCV version 4.5.3
This is my frozen graph:
frozen_graph.zip
The text was updated successfully, but these errors were encountered: