gotf

command module
v0.0.0-...-392fb3d Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

README

Go Tensorflow (GOTF)

Serving the Tensorflow Resnet Model using Docker and:

Performance tested using Vegeta

Serving

Change into the example you'd like to run.

This is a resnet model.

Build and run docker images for Basic and Compiled Go servers

$ docker build -f docker/base.Dockerfile . -t base ; docker run -p 8501:8080 -it base:latest

$ docker build -f docker/compiled.Dockerfile . -t compiled ; docker run -p 8501:8080 -it compiled:latest

Tensorflow serving

docker run -p 8501:8501 \
  --mount type=bind,source=/Users/alicecheung/Downloads/gotf/model,target=/models/resnet_model \
  -e MODEL_NAME=resnet_model -t tensorflow/serving
Performance Testing

Run test in testing directory

$ go run test.go

Links:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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