昇腾社区首页
中文
注册
开发者
下载

E12013 Invalid_Argument_TensorFlow_Model_Data

Symptom

Failed to find a subgraph by the name %s.

Solution

  1. To use function subgraphs to convert a TensorFlow model, place the subgraph .proto description file in the same directory as the model file and name it graph_def_library.pbtxt.
  2. Run the func2graph.py script in the ATC installation directory to save the subgraphs to graph_def_library.pbtxt.