Skip to content
A tensorflow.js Rock-Paper-Scissors Model running on a Flask server
Jupyter Notebook JavaScript HTML Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
RPS.ipynb
Readme.md
app.py
backend
collected-data.txt
requirements.txt
screenshot.png

Readme.md

A tensorflow.js Rock-Paper-Scissors Model running on a Flask server

Contains the model in RPS.ipnyb, data, and a small flask server

Setup

python3 -m venv rps-venv
source rps-venv/bin/activate
pip install -r requirements.txt 
python app.py

After doing the above, you can play against the model at http://127.0.0.1:5000/rps

Alternatively, you can adjust the model by running jupyter-lab and navigating to RPS.ipnyb

Demo

Screenshot

Demo

Associated Blog Post

You can’t perform that action at this time.