Skip to content

gbaeke/resnet-score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ResNet50v2 scoring (inference) in Go

Tool to classify an image with the ResNet50v2 model from the ONNX Model Zoo. The tool expects a running container based on the gbaeke/onnxresnet50v2 image.

Use the following command to start the container:

docker run -d -p 5001:5001 gbaeke/onnxresnet50v2

Use tool as follows:

./class -image image-path -uri score-uri

e.g. ./class -image images/cat.jpg -uri http://38.22.33.22/score

The container exposes a scoring URI at http://localhost:5001/score. That URI is the default URI. Override the URI with the -uri flag.

Download tool for Linux from releases: Download

Download tool for Windows from releases: Download