Having issues installing/running tf2onnx

1k Views Asked by At

I'm trying to get Tf2onnx to run so that I can convert a saved_model.pb file to onnx format. Nothing is really working out. I have tried installing it with the pip install git+https://github.com/onnx/tensorflow-onnx command but same issue.

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

The command should be issued from the site-packages directory, not the tf2onnx directory. I also put a sudo in front which helped. sudo python3 -m tf2onnx.convert --saved-model /home/isaacpadberg/Desktop/model --output model.onnx