Skip to content

Keras model for recognizing arm gestures using PlaidML backend

Notifications You must be signed in to change notification settings

BO20-G38/Lightning_McQueen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightning McQueen

Lighting McQueen is our phases of models created for arm gesture recognition. Bellow you will find the setup process for beeing able to run the code used for machine learning part of this project.

Requirements

Configure and activate virtual environment

PyCharm

If a virtual environment was not created when setting up a new project in PyCharm follow JetBrains guide on setting up a virtual environment (https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html)

Terminal

Check to see if your install of Python has pip

pip -h

Install virtualenv package

pip install virtualenv

Create virtual environment

Make sure to be in the project directory.

virtualenv venv

Activate virtual environment

Mac OS and Linux

source venv/bin/activate

Windows

venv\Scripts\activate

If you want to deactivate the virtual environment simply run deactivate in the terminal window.

Installation of needed packages

Use the package manager pip for installing needed packages.

pip install plaidml-keras plaidbench
pip install -U matplotlib
pip install opencv-python
pip install tqdm
pip install termcolor
pip install sty
pip install pickle

Setup PlaidML

+ If you have a dedicated GPU its recomended to select it as your accelerator.

Choose which accelerator you'd like to use (many computers, especially laptops, have multiple) In the terminal of your python project (venv) write:

plaidml-setup
  • Enable experimental mode
  • Select your accelerator

Now try benchmarking MobileNet:

plaidbench keras mobilenet
  • You are now good to go!

About

Keras model for recognizing arm gestures using PlaidML backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages