Bez popisu

Eric Tröbs a9fd4a13df Merge branch '152-label-overlay-z-index' into 'master' před 3 roky
labels 9d8700e288 added flat model label reader před 3 roky
models 9d8700e288 added flat model label reader před 3 roky
pycs 5c41f5e131 Crop view před 3 roky
test 259032ccbd fix test_database.py před 3 roky
webui a9fd4a13df Merge branch '152-label-overlay-z-index' into 'master' před 3 roky
.dockerignore 1259a4330a Resolve "Dockerfile" před 4 roky
.editorconfig 5c41f5e131 Crop view před 3 roky
.gitignore c855f64876 Resolve "backend storage system" před 4 roky
.gitlab-ci.yml 1df7964c29 Resolve "more tests" před 4 roky
Dockerfile 1259a4330a Resolve "Dockerfile" před 4 roky
README.md 1259a4330a Resolve "Dockerfile" před 4 roky
app.py 76d7090deb Resolve "pipeline cache" před 3 roky
docker-compose.yml 59603d7eba Ammod před 3 roky
requirements.txt 59603d7eba Ammod před 3 roky
settings.json d773bbb603 Resolve "reverse proxy patch" před 3 roky

README.md

PyCS

pipeline status coverage report made-with-python made-with-vuejs

PyCS is a python tool to use and fit machine learning models using any modern web browser.

Requirements

  • python 3.6 + pip
  • nodejs 14 + npm

Getting Started

CI Builds

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

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
    

Development

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