andrewbaisden / ml-photo-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ML Photo App

Install and Setup

This project uses virtualenv for creating a virtual python environment.

neural-network-builder

cd into the folder neural-network-builder.

Run the commands below, to setup the virtual environment:

virtualenv venv
source venv/bin/activate
cd venv

# Use deactivate to deactivate the virtual environment
deactivate

Install the requirements.txt file for your version of Python.

# Python 3 version
pip3 install -r requirements.txt
# Python 2 version
pip install -r requirements.txt

Running the neural-network-builder

Run this command:

# Python 3
python3 generate-model.py

# Python 2
python generate-model.py

Frontend

cd into the folder frontend.

Run the command below, to setup the virtual environment:

virtualenv venv
source venv/bin/activate
cd venv

# Use deactivate to deactivate the virtual environment
deactivate

Install the requirements.txt file for your version of Python.

# Python 3 version
pip3 install -r requirements.txt
# Python 2 version
pip install -r requirements.txt

Running the Frontend

Run this command:

taipy run index.py

About


Languages

Language:Python 90.5%Language:CSS 9.5%