inception

command
v0.0.0-...-8b6a76b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 8 Imported by: 0

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

  1. Build the required container in the parent directory.

  2. 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL