I tried to read a tensorflow model and i Have got error :
[libprotobuf ERROR C:\lib\opencv\3rdparty\protobuf\src\google\protobuf\wire_format_lite.cc:581] String field 'opencv_tensorflow.FunctionDef.Node.ret' contains invalid UTF-8 data when parsing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
cv2.error: OpenCV(5.0.0-pre) C:\lib\opencv\modules\dnn\src\tensorflow\tf_io.cpp:42: error: (-2:Unspecified error) FAILED: ReadProtoFromBinaryFile(param_file, param). Failed to parse GraphDef file: a.pb/saved_model.pb in function 'cv::dnn::ReadTFNetParamsFromBinaryFileOrDie'
Detailed description
I tried to read a tensorflow model and i Have got error :
onnx model test_pad.zip
model a.pb.zip
Steps to reproduce
Two steps first create onnx model
Second step convert onnx model to tensorflow
onnx-tf convert -i test_pad.onnx -o a.pb
Issue submission checklist