tensorflow框架的pb模型转换报错,E19005: Failed to parse file [keras_metadata.pb]
收藏回复举报
tensorflow框架的pb模型转换报错,E19005: Failed to parse file [keras_metadata.pb]
t('forum.solved') 已解决
发表于2024-07-19 17:00:17
0 查看

模型输入节点结构:

cke_379.png

转换命令:atc --model=keras_metadata.pb --framework=3 --input_shape='input_1[0][0]:1,480,480,1' --output=nucres_bs1 --soc_version=Ascend310B4

报错:

E19005: Failed to parse file [keras_metadata.pb].

        Solution: Check that a matched Protobuf version is installed and try again with a valid file. For details, see section "--framework" in ATC Instructions.

        TraceBack (most recent call last):

        ATC model parse ret fail.[FUNC:ParseGraph][FILE:omg.cc][LINE:792]

cke_3440.png

我要发帖子