發表文章

目前顯示的是有「ONNX」標籤的文章

ONNX(Open Neural Network Exchange)在vs2019上的配置方式

圖片
  ONNX(Open Neural Network Exchange) https://onnx.ai/ https://www.youtube.com/watch?v=DwdAqoyyzhI&ab_channel=ONNXRuntime ONNX是一種針對機器學習所設計的開放式的文件格式,用於存儲訓練好的模型。它使得不同的人工智慧框架可以採用相同格式存儲模型數據並交互。 ONNX的規範及代碼主要由微軟,亞馬遜,Facebook和IBM等公司共同開發,以開放原始碼的方式託管在Github上。 https://docs.microsoft.com/zh-tw/azure/machine-learning/concept-onnx 至github連結去下載正式發行的最新版本壓縮檔案 https://github.com/microsoft/onnxruntime/releases 解壓後將裡面內容重新丟入到一個 自己命名的目錄 在此我命名為onnxruntime 裡面有對應平台已經編譯好的dll 把目錄丟入當前的方案目錄後再做相應配置 Step1.C/C++ ->一般->其他include目錄 $(SolutionDir)\onnxruntime\include Step2.連結器->一般->其他程式庫目錄 $(SolutionDir)\onnxruntime\lib Step3.連結器->輸入->其他相依性 onnxruntime.lib Step4.配置C++跟C的header file Ref: https://onnxruntime.ai/docs/ https://onnxruntime.ai/docs/ https://github.com/microsoft/onnxruntime-inference-examples/tree/main/c_cxx https://onnxruntime.ai/docs/api/c/ https://onnxruntime.ai/docs/api/