Randall Zhuo b7c3b5c3c6 Update rknn-toolkit2/rknn-toolkit-lite2 to 1.5.2
Signed-off-by: Randall Zhuo <randall.zhuo@rock-chips.com>
2023-08-28 14:26:26 +08:00
..

How to export onnx model from pytorch

Script Usage

Usage:

python test.py

The script will build a ResNet18 model through pytorch, and export the onnx model of ResNet18 through the torch.onnx.export interface. it is recommended to set the opset_version to 12.