|
3 years ago | |
---|---|---|
labels | 3 years ago | |
models | 3 years ago | |
pycs | 3 years ago | |
test | 3 years ago | |
webui | 3 years ago | |
.dockerignore | 4 years ago | |
.editorconfig | 3 years ago | |
.gitignore | 4 years ago | |
.gitlab-ci.yml | 4 years ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
app.py | 3 years ago | |
docker-compose.yml | 3 years ago | |
requirements.txt | 3 years ago | |
settings.json | 3 years ago |
PyCS is a python tool to use and fit machine learning models using any modern web browser.
Download the latest version and unzip it. Execute the following commands using a command prompt:
create and activate a virtual python environment
python -m venv env
source env/bin/activate
install python dependencies
pip install numpy opencv-python Pillow scipy
pip install eventlet flask python-socketio
start server
python app.py
Docker is the preferred way to quickly start a PyCS instance without requiring any more software or libraries on your system.
build image with tag pycs
docker build -t pycs .
start container
docker run -p 5000:5000 pycs
Use git
to clone this repository or download the latest version as a zip file. Execute the following commands using a command prompt:
create and activate a virtual python environment
python -m venv env
source env/bin/activate
install python dependencies
pip install numpy opencv-python Pillow scipy
pip install eventlet flask python-socketio
start server
python app.py
change directory to webui
cd webui/
install vuejs and other dependencies
npm install
start frontend
npm run serve