Skip to content

goodrahstar/tf-sentiment-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Sentiment Analysis (Convonutional Neural Network model) using Tensorflow

Docker Setup

  1. Install Docker
  2. Run git clone https://github.com/goodrahstar/tf-sentiment-docker
  3. Open docker terminal and navigate to /path/to/tf-sentiment-docker
  4. Run docker build . -t sentiment-api
  5. Run docker run -p 8180:8180 sentiment-api
  6. Access http://0.0.0.0:8180/sentiment?message=i love it from your browser [assuming you are on windows and docker-machine has that IP. Otherwise just use localhost]

Native Setup

  1. Anaconda distribution of python 2.7
  2. pip install -r requirements.txt which installs Tensorflow and web.py

About

A docker image for sentiment analysis on tensorflow

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages