Porting mobilenetv2-7.onnx model on Kneron
Hi:
We would like to porting mobilenetv2-7.onnx model on Kneron from below
write a test.py script and refer from Kneron toolchain example
What should i do to solve this problem?
The discussion has been closed due to inactivity. To continue with the topic, please feel free to post a new discussion.
Comments
@Lin Hsiehcheng
Hi Lin Hsiehcheng,
The mobilenetv2-7.onnx model you want to port is a PyTorch generated model, so you must use "Pytorch exported onnx optimization. API"(http://doc.kneron.com/docs/#toolchain/python_api/#pytorch-exported-onnx-optimization) before using
ktc.onnx_optimizer.onnx2onnx_flow
APIExamples are as follows: