6
0

Sem descrição

Dimitri Korsch 1ab5050a2f reworked DB models to SQLAlchemy há 4 anos atrás
labels 10e4d78382 Resolve "display job errors in webui" há 4 anos atrás
migrations 1ab5050a2f reworked DB models to SQLAlchemy há 4 anos atrás
models e834fa0aa2 fixed class id to label mapping há 4 anos atrás
pycs 1ab5050a2f reworked DB models to SQLAlchemy há 4 anos atrás
test 414e0a4703 fix #127 há 4 anos atrás
webui ad347eac0b Merge branch '137-remove-label-button-from-session-dialogue-if-labeling-is-not-supported' into 'master' há 4 anos atrás
.dockerignore 1259a4330a Resolve "Dockerfile" há 4 anos atrás
.gitignore c855f64876 Resolve "backend storage system" há 4 anos atrás
.gitlab-ci.yml 1df7964c29 Resolve "more tests" há 4 anos atrás
Dockerfile 1259a4330a Resolve "Dockerfile" há 4 anos atrás
README.md 1259a4330a Resolve "Dockerfile" há 4 anos atrás
app.py 1ab5050a2f reworked DB models to SQLAlchemy há 4 anos atrás
docker-compose.yml aae942a54b added a requirements and a docker-compose files há 4 anos atrás
requirements.txt 1ab5050a2f reworked DB models to SQLAlchemy há 4 anos atrás
settings.json 509a7dd87e refactored WebServer class a bit há 4 anos atrás

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