https://github.com/arkaung/dl_acy_workshop
Repo for ACY Workshop - Deep Learning for Absolute Beginners
https://github.com/arkaung/dl_acy_workshop
Last synced: over 1 year ago
JSON representation
Repo for ACY Workshop - Deep Learning for Absolute Beginners
- Host: GitHub
- URL: https://github.com/arkaung/dl_acy_workshop
- Owner: ArkAung
- Created: 2020-06-27T17:43:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-24T02:42:40.000Z (almost 5 years ago)
- Last Synced: 2025-03-24T04:22:59.227Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 6.35 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## American Center Yangon - Deep Learning for Absolute Begineers
by Arkar Min Aung
## For those who are doing workshop
Workshop exercise #1: [](https://colab.research.google.com/github/ArkAung/dl_acy_workshop/blob/master/ACY_Workshop%20(Digits).ipynb)
Workshop exercise #2: [](https://colab.research.google.com/github/ArkAung/dl_acy_workshop/blob/master/ACY_Workshop%20(Alphabets).ipynb)
## For those who want to test this
This repo contains a minimal Flask webserver will serve you a minimal web app which recognizes Myanmar handwritten
digits and alphabets based on your drawings. Additionally, publicly accessible URL for the webserver is created using Ngrok.
The accompanying Jupyter Notebook is meant to be opened in Google CoLab. It contains procedures to:
- Download required libraries
- Augment data
- Build and train neural network
- Run the webserver with Ngrok
### Preparation
* Create a conda environment: `conda create -n flask_server python=3.7`
* Activate environment: `conda activate flask_server`
* Install requirements: `pip install -r requirements.txt`
* Download weights file: [alphabets](https://drive.google.com/file/d/1hcb7OFhQ5CKVv3M_Ll1xup6KTKI72uvb/view?usp=sharing) | [digits](https://drive.google.com/file/d/1wiB2JSNZHUQn_9dhITtuTSYayAk20Wts/view?usp=sharing)
* **Note:** The neural networks are trained minimally with very small training dataset. Their performance will be be subpar.
### How to Run
* `python webserver.py --type [alphabets|digits] --weights /path/of/downloaded/weight/file.pkl`
* Navigate either to `localhost:5000` or public URL printed in console.