Skip to content

Simple example hosting TensorFlow model as Flask service

License

Notifications You must be signed in to change notification settings

touchtechio/tensorflask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tensorflask

These are example of hosting a TensorFlow models as Flask services for inference.

I provide ansible configuration for provisioning services in aws. I'm working through configuring everything to work through ansible and docker containers for easy of deployment and modularity.

Features thus far are the installation of multiple hosts, the installation of docker dependencies, large file upload support, some tensorflow models, and basic flask site hosting

Setup

  1. You need Python 3.x with Flask and TensorFlow installed. You can download ActivePython 3.5 which has all the required dependencies already pre-installed.
  2. Clone to repository by clicking the clone button above.
  3. Run python app.py.

Usage

start in ansible/ansible-aws directory and run the playbooks from there

License

Licensed under the Apache 2.0 license. See LICENSE file for details.

About

Simple example hosting TensorFlow model as Flask service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.1%
  • JavaScript 6.5%
  • HTML 3.6%
  • Other 1.8%