Coder Social home page Coder Social logo

bediazu / flask-app-for-mxnet-img-classifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xd-deng/flask-app-for-mxnet-img-classifier

0.0 0.0 0.0 351 KB

A Flask (Python) Web Interface for MXNet Image Classifier

Home Page: http://side-1.seekingQED.com

Dockerfile 7.40% Python 49.30% HTML 43.30%

flask-app-for-mxnet-img-classifier's Introduction

flask-app-for-mxnet-img-classifier

Drawing

Demo

A Flask (Python) Web Interface for MXNet Image Classifier.

This app simply invoked the pre-trained model provided by MXNet community.

Deployment Using Docker

docker run -p 80:8000 xddeng/flask-app-for-mxnet-img-classifier:v2

Deployment

Step - 1: Environment

sudo yum install python-pip
sudo yum install git
sudo yum install numpy opencv*

pip install Flask
pip install mxnet
pip install gunicorn

Step - 2: Clone This Project

git clone https://github.com/XD-DENG/flask-app-for-mxnet-img-classifier.git

Step - 3: Download Pre-Trained MXNet Model

From http://data.mxnet.io/models/imagenet-11k/, download

  • resnet-152/resnet-152-symbol.json
  • resnet-152/resnet-152-0000.params
  • synset.txt

Note that we need to put all these three files under application directory.

Step - 4: Start Service

gunicorn -b 0.0.0.0:80 app:app

flask-app-for-mxnet-img-classifier's People

Contributors

xd-deng 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.