運行onnx模型
1 onnx模型加載測試
- 新建一個vs工程。
- 安裝onnx:
選擇“項目”->”管理NuGet程序包(N)“:
打開界面如下,輸入onnx:
選擇紅色框中進行安裝。
編譯代碼,即可成功。
2 部署代碼說明
參考網址:https://github.com/microsoft/onnxruntime/tree/master/samples
運行onnx模型
選擇“項目”->”管理NuGet程序包(N)“:
打開界面如下,輸入onnx:
選擇紅色框中進行安裝。
編譯代碼,即可成功。
參考網址:https://github.com/microsoft/onnxruntime/tree/master/samples