Discover Packages
github.com/sjkaliski/infer
examples
inception
command
Version:
v0.0.0-...-8b6a76b
Opens a new window with list of versions in this module.
Published: Aug 29, 2018
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
inception
This is an example http API that takes an input image and returns a list of predictions ordered by confidence. It uses the Inception v1 model. It auto-detects the image format and crops / resizes per the model requirements.
Setup
Build the required container in the parent directory .
Build and run the example.
$ docker build -t sjkaliski/infer/examples/inception .
$ docker run --rm -it -p 8080:8080 sjkaliski/infer/examples/inception
Usage
curl -X "POST" "http://127.0.0.1:8080/" -H 'Content-Type: image/png' --data-binary @input.png
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.