tensorfly / tensorflow_demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tensorflow as a service

(相关网站:[tensorfly中文社区]http://tensorfly.cn/ qq交流群 472113439)

This is a demo to show how to run a well-trained tensorflow-model as a web service.

screenshoot

Prerequisite:

  • install tensorflow. check here
  • install flask (a light-weighted web framework ). check here or simply install it by pip:
pip install Flask
  • install PIL (a python Image Library). check here or install it by:
pip install PIL

Run The Demo:

cd /path/to/the/repository
python app.py

and you can check the demo by opening the page http://localhost:5000 (chrome recommended)

About


Languages

Language:JavaScript 83.5%Language:HTML 10.5%Language:Python 3.2%Language:CSS 2.8%