Skip to content

wvjgsuhp/onnx-server

Repository files navigation

Inference Via actix-web + onnxruntime

This project demonstrates an inference using trained neural network via REST api in rust with actix-web and onnxruntime.

Build

docker build -t onnx-server .

Run

docker run -p 8080:8080 -it --rm onnx-server

Test

curl --location --request POST '0.0.0.0:8080/predict' \
--header 'Content-Type: application/json' \
--data-raw '{
    "location": "/usr/local/src/my_shirt.png"
}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors