我训练了一个 ANN 模型并将其保存为 .h5 文件。然后我将模型转换为 tensorflow 模型并获取'savedmodel.pb'
和'variables'
文件夹。然后我使用模型优化器 openvino 生成 IR 文件:
python3 mo_tf.py --input_model saved_model.pb
但我收到以下错误:
[ FRAMEWORK ERROR ] Error parsing message
TensorFlow cannot read the model file: "/home/user/Downloads/OpenVino/dldt-2019/model-optimizer/saved_model.pb" is incorrect TensorFlow model file
一开始可以openVINO
用来转换ANN
模型吗?