|
há 3 anos atrás | |
---|---|---|
labels | há 3 anos atrás | |
models | há 3 anos atrás | |
pycs | há 3 anos atrás | |
test | há 3 anos atrás | |
webui | há 3 anos atrás | |
.dockerignore | há 4 anos atrás | |
.editorconfig | há 3 anos atrás | |
.gitignore | há 4 anos atrás | |
.gitlab-ci.yml | há 4 anos atrás | |
Dockerfile | há 4 anos atrás | |
README.md | há 4 anos atrás | |
app.py | há 3 anos atrás | |
docker-compose.yml | há 3 anos atrás | |
requirements.txt | há 3 anos atrás | |
settings.json | há 3 anos atrás |
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