项目作者: channelCS

项目描述 :
Digit classification with Convolutional Neural Networks using Keras
高级语言: Python
项目地址: git://github.com/channelCS/digit-identify.git
创建时间: 2018-02-17T12:45:01Z
项目社区:https://github.com/channelCS/digit-identify

开源协议:MIT License

下载


Handwritten-Digit-Classifier

Deploy
license dep1 dep2 dep3

Objective Goal

Idenity Handwritten Digits with Convolutional Neural Network using Flask and deploy the app on Heroku.

Description

The Model uses Convolutional layers for predicting class labels of the image passed.



Dependencies

The required dependencies are mentioned in requirement.txt, conda-requirements.txt and runetime.txt.

Deploy the application

Using GitHub

  1. Fork this repo

    Click on the
    button to make a copy of this repo in your own account.

  2. Clone your repo

    1. git clone https://github.com/<your-name>/digit-identify.git
  3. Log into your Heroku account with CLI.

  4. Push your changes in GitHub
  1. $ git add .
  2. $ git commit -m "Add your commit name"
  3. $ git push origin master
  1. Refresh your Browser and see your updated site

Using Heroku Manual Setup

  1. Setup The App
  • Create a free Heroku Account(Online)
  • Python version >= 2.7 installed locally
  • For Linux:
    1. $ heroku login
    2. Enter your Heroku credentials.
    3. Email: python@example.com
    4. Password:
  • For Windows:
    • Download Heroku CLI
    • Once Installed use heroku command on your command shell (cmd)
  1. Prepare the app
  1. $ git clone https://github.com/heroku/python-getting-started.git
  2. $ cd python-getting-started
  1. Deploy the app
  1. $ heroku create
  2. Creating lit-bastion-5032 in organization heroku... done, stack is cedar-14
  3. http://lit-bastion-5032.herokuapp.com/ | https://git.heroku.com/lit-bastion-5032.git
  4. Git remote heroku added
  1. $git push heroku master
  2. Counting objects: 232, done.
  3. Delta compression using up to 4 threads.
  4. Compressing objects: 100% (217/217), done.
  5. Writing objects: 100% (232/232), 29.64 KiB | 0 bytes/s, done.
  6. Total 232 (delta 118), reused 0 (delta 0)
  7. remote: Compressing source files... done.
  8. remote: Building source:
  9. remote:
  10. remote: -----> Python app detected
  11. remote: -----> Installing python-3.6.0
  12. remote: -----> Installing requirements with latest pipenv...
  13. remote: Installing dependencies from Pipfile.lock...
  14. remote: $ python manage.py collectstatic --noinput
  15. remote: 58 static files copied to '/app/gettingstarted/staticfiles', 58 post-processed.
  16. remote:
  17. remote: -----> Discovering process types
  18. remote: Procfile declares types -> web
  19. remote:
  20. remote: -----> Compressing...
  21. remote: Done: 39.3M
  22. remote: -----> Launching...
  23. remote: Released v4
  24. remote: http://lit-bastion-5032.herokuapp.com/ deployed to Heroku
  25. remote:
  26. remote: Verifying deploy... done.
  27. To git@heroku.com:lit-bastion-5032.git
  28. * [new branch] master -> master