TensorRT
TensorRT copied to clipboard
Getting “failed to import metagraph” when running the TRT saved_model converter workflow for TF 1.15
I have trained a NER model with tensorflow1.15 and save the model in pb file . when I want to convert it to a new pb with tensorRT.
Error log occured: tensorflow.python.framework.errors_impl.InvalidArgumentError: Failed to import metagraph, check error log for more info.
same problem as : https://forums.developer.nvidia.com/t/getting-failed-to-import-metagraph-when-running-the-trt-saved-model-converter-workflow-for-tf-1-15/157319
how can I fix it ? thank you
Looks like a TF bug or a tf2onnx bug?
you should check the pb model use saved_model_cli show ,see if it has default signature
closing since no activity for more than 14 days, please reopen if you still have question, thanks!