Hi all, I trying to execute on the jetson nano board the program convert_to_onnx.py from the directory /usr/src/tensorrt/samples/python/onnx_packnet
But it throws error as ModuleNotFoundError: No module named ‘onnx_graphsurgeon’
Let me know what could be the reason and solution for it.
Here is the details of the command execution and its output
/usr/src/tensorrt/samples/python/onnx_packnet$ python3.6 convert_to_onnx.py --output model.onnx
Traceback (most recent call last):
File “convert_to_onnx.py”, line 22, in
import onnx_graphsurgeon as gs
ModuleNotFoundError: No module named ‘onnx_graphsurgeon’
Hi, thank you for your suggestion. I have followed the procedure, but still got error.
The first step given in the link was
python3 -m pip install onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com
It got executed successfully
and the next command was
make install
make: *** No rule to make target ‘install’. Stop.