Skip to content

selpoG/ort-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Minimal Sample to use onnxruntime from C++.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published