Sign inSign up

simpleverso/resnet

By simpleverso

Updated over 4 years ago

ONNX version of Resnet model using azure functions as backend

Image
1

2.2K

simpleverso/resnet repository overview

FEEL FREE TO USE!

ONNX version of Resnet model using azure functions

1.- install the docker:

docker run -p 8888:80 simpleverso/resnet:latest

2.- USE:

curl -i -X POST
-H "Content-Type:image/jpeg"
-T "./main-qimg-0b05cead0b2f330408a868059dacd45e.jpeg"
'http://localhost:8888/api/Predict'

Description

start the docker endpoint: http://localhost:8888/api/Predict

add the header: Content-Type and put the correct filetype: image/jpeg

insert a image file in the body request

Example of response:

[ { "label": "comic book", "confidence": 10.988886 }, { "label": "electric guitar", "confidence": 9.03674 }, { "label": "desk", "confidence": 8.871817 } ]

Tag summary

Content type

Image

Digest

Size

811.6 MB

Last updated

over 4 years ago

docker pull simpleverso/resnet