ONNX version of Resnet model using azure functions as backend
2.2K
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 } ]
Content type
Image
Digest
Size
811.6 MB
Last updated
over 4 years ago
docker pull simpleverso/resnet