Skip to content
A Flask (Python) Web Interface for MXNet Image Classifier
Python HTML Dockerfile
Branch: master
Clone or download
XD-DENG Remove Demo link
Shutting down the demo service due to its cost
Latest commit 416a493 Feb 3, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
templates Better error handling Jul 13, 2017
.gitignore Initial commit Jul 9, 2017
Dockerfile Add requirements and Update Dockerfile Oct 13, 2018 Remove Demo link Feb 3, 2020 Better error handling Jul 13, 2017
requirements.txt Merge pull request #4 from XD-DENG/dependabot/pip/requests-2.20.0 Oct 29, 2019



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 8000:8000 xddeng/flask-app-for-mxnet-img-classifier:v2

Now you can try to access the service at http://localhost:8000


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

Step - 3: Download Pre-Trained MXNet Model

From, 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 app:app
You can’t perform that action at this time.