cd ./tutorials/
# Download onnx model from official ONNX model zoo
wget https://github.com/onnx/models/raw/main/vision/classification/resnet/model/resnet18-v1-7.onnx
python3 compile_onnx_model.py \
./resnet18-v1-7.onnx \
-o resnet18_onnx \
-s 1,3,224,224 \
-i data
and got error
Traceback (most recent call last):
File "compile_onnx_model.py", line 24, in <module>
from drpai_preprocess import *
File "/drp-ai_tvm/tutorials/drpai_preprocess/op.py", line 34, in <module>
from python_api import *
ModuleNotFoundError: No module named 'python_api'
Built docker image according to Installing DRP-AI TVM with Docker
Now moved to Example using Resnet from the official ONNX model zoo
and got error