Code Monkey home page Code Monkey logo

optimizers-sign-language's Introduction

Benchmarking Optimizers for Sign Language detection

Deep Learning (20/21) WMAI017-05.2020-2021.2A

Uses data describing the ASL alphabet and tries to classify the images correctly using an adapted custom Neural Network, built with TensorFlow/Keras. Runs the model fitting multiple times for various optimizers, such that we can compare various optimizers against each other.

Demo

Demonstrates the sign language detection model using TensorFlow.js:

Screenshot 2022-07-09 at 19 01 23

Usage

  1. Follow the setup from the official Kaggle API repo. Make sure ~/.kaggle/kaggle.json exists.

  2. Create a virtual environment and install the packages:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Will install all required packages.

  1. Download the data from Kaggle
sh util/data_download.sh <directory_to_store_data>
  1. (optional) Combine datasets
python src/combine_datasets.py <directory_to_store_data>
  1. Run training Test using just 32 samples:
python src/train_model_test.py

Do a full training cycle:

python src/train_model.py -d <directory_to_store_data>/<dataset_to_use>

Directory <dataset_to_use> must have subdirectories containing the names of the designated classes.

Peregrine

Follow the instructions above, will work for Peregrine just as well. Submit a job using:

sbatch util/peregrine.sh

Download the results using:

rsync -aP $PEREGRINE_USERNAME@peregrine.hpc.rug.nl:~/deep-learning/logs ./
rsync -aP $PEREGRINE_USERNAME@peregrine.hpc.rug.nl:~/deep-learning/models ./

Demo

Run the demo locally by running:

cd demo
yarn
yarn start

A browser tab should automatically be opened with the website โœจ

About

By Jeroen Overschie and Loran Knol.

optimizers-sign-language's People

Contributors

dunnkers avatar valkje avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.