ArkAung / dl_acy_workshop

Repo for ACY Workshop - Deep Learning for Absolute Beginners

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

American Center Yangon - Deep Learning for Absolute Begineers

by Arkar Min Aung

For those who are doing workshop

Workshop exercise #1: Open In Colab

Workshop exercise #2: Open In Colab

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 | digits
    • 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.

About

Repo for ACY Workshop - Deep Learning for Absolute Beginners


Languages

Language:Jupyter Notebook 77.5%Language:Python 10.2%Language:HTML 5.0%Language:CSS 3.8%Language:JavaScript 3.5%