Symptom
Failed to find the subgraph library.
Possible Cause
The model to convert contains function subgraphs, but the [graph_def_library.pbtxt] file is not found.
Solution
- 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].
- Run the [func2graph.py] script in the ATC installation directory to save the subgraphs to [graph_def_library.pbtxt].