Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 576 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 576 Bytes

ort-sample

Get onnxruntime

Download onnxruntime-<os>-<arch>(-gpu)-1.6.0.zip from here, and extract it to anywhere you like.

Build

git clone https://github.com/selpoG/ort-sample
mkdir ort-sample/build
cd ort-sample/build
cmake -DONNXRUNTIME_ROOT=<path to onnxruntime> ..
cmake --build .

Run

Linux:

$ ./ort-sample
hello

Windows:

> ./Debug/ort-sample.exe