Skip to content

sinjorjob/django-mnist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-deap-learning-mnist-sample

ディープラーニング+DjangoでMNIST(手書き数字画像認識)を実際に動かして試せるサンプルアプリです。

解説: URL: https://sinyblog.com/django/ai_api_001/

使い方

  1. 事前にpython(3.6以上)をインストールする。

  2. gitでプロジェクトをダウンロードする。

git clone https://github.com/sinjorjob/mnist_tutorial.git

※右上の「Clone or Download」→ 「Download ZIP」からダウンロードでもOKです。

  1. DOS画面よりセットアップコマンドを実行する。
cd django-mnist-master
python -m venv env
env\Scripts\activate
pip install -r requirements.txt
  1. マイグレーションを実行する。
python manage.py migrate

MacOS/Linuxでは動作確認していませんが、同様の手順で実装できると思います。

  1. 開発サーバを立ち上げてブラウザからURLを開く
python manage.py runserver
  1. 以下のURLにアクセスする。
http://localhost:8000/mnist
  1. 補足

examplesフォルダ:kerasによるモデル定義~学習~モデル保存までのコード一式

modelフォルダ:デモアプリ用の学習済みファイル

sampleフォルダ:手書き数字画像のサンプルファイル

About

This repository is a web appication of deap learning for mnist data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published