GithubHelp home page GithubHelp logo

everdockers / tensorflow_serving_gpu Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 418 KB

Dockerfile and files for baikangwang/tensorflow_cpu, python + tensorflow + tensorflow serving

Home Page: https://hub.docker.com/r/baikangwang/tensorflow_serving_gpu/

License: Apache License 2.0

tensorflow_serving_gpu's Introduction

Tensorflow serving (gpu)

3.5,latest

Description

This image can be used as tensorflow serving server and client in python 3.5

Docker
Docker Pull docker pull baikangwang/tensorflow_serving_gpu[:3.5]
Dockerfile https://github.com/EverDockers/tensorflow_serving_gpu/blob/python3/Dockerfile

Usage

Tensorflow Serving - Server

nvidia-docker run -it -v <local working dir>:/projects -p 9000:9000 --name <ts_server> baikangwang/tensorflow_serving_gpu[:3.5] /bin/bash 

Tensorflow Serving - Client

# console, desktop program
nvidia-docker run -it -v <local working dir>:/projects --net=host --name <ts_client> baikangwang/tensorflow_serving_gpu[:3.5] /bin/bash
 
# web app
nvidia-docker run -it -v <local working dir>:/projects --net=host -p 8080:8080 --name <ts_client> baikangwang/tensorflow_serving_gpu[:3.5] /bin/bash

<local working dir>: it's a placeholder presenting the client code directory
<ts_server>: it's a placeholder presenting the container name being played as SERVER role
<ts_client>: it's a placeholder presenting the container name being played as CLIENT role
9000:9000: the serving service port, the server part is configurable with the evn variable $SERVING_PORT
8080:8080: the client app port which is optional for console, desktop programs, the server part is configurable with the evn variable $CLIENT_PORT

Components

  • grpc 1.6.0
  • Python 3.5
  • Tensorflow 1.3.0
  • Tensorflow Serving 1.3.0

2.7

Description

This image can be used as tensorflow serving server and client in python 2.7

Docker
Docker Pull docker pull baikangwang/tensorflow_serving_gpu:2.7]
Dockerfile https://github.com/EverDockers/tensorflow_serving_gpu/blob/python2/Dockerfile

Usage

Tensorflow Serving - Server

nvidia-docker run -it -v <local working dir>:/projects -p 9000:9000 --name <ts_server> baikangwang/tensorflow_serving_gpu:2.7 /bin/bash 

Tensorflow Serving - Client

# console, desktop program
nvidia-docker run -it -v <local working dir>:/projects --net=host --name <ts_client> baikangwang/tensorflow_serving_gpu:2.7 /bin/bash
 
# web app
nvidia-docker run -it -v <local working dir>:/projects --net=host -p 8080:8080 --name <ts_client> baikangwang/tensorflow_serving_gpu:2.7 /bin/bash

Parameters see 3.5,latest

Components

  • grpc 1.6.0
  • Python 2.7
  • Tensorflow 1.3.0
  • Tensorflow Serving 1.3.0

Tensorflow serving tasks

see tensorflow_serving_tutorials

tensorflow_serving_gpu's People

Contributors

baikangwang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.