暂无描述

Dimitri Korsch 58e5df373f Added tests for listing labels. coverage of the label endpoints is now 100% 3 年之前
labels f3ae0af138 Merge remote-tracking branch 'gitlab/master' into crop_view 3 年之前
migrations b5d784be18 deleted Database class. Reworked all view, so that they don't need a database instance 3 年之前
models 7e8506c04f added flat model label reader 3 年之前
pycs fe1bbd0fd7 added some tests. fixed an endpoint for getting project results 3 年之前
tests 58e5df373f Added tests for listing labels. coverage of the label endpoints is now 100% 3 年之前
webui c5aa6db7d2 minor UI-related fixes in label showing 3 年之前
.coveragerc fa28cb9780 added a Makefile and converagerc file 3 年之前
.dockerignore 1259a4330a Resolve "Dockerfile" 4 年之前
.editorconfig 05fab88a78 implemented first version of the crop view. Moved image operations to a separate utils module 3 年之前
.gitignore fa28cb9780 added a Makefile and converagerc file 3 年之前
.gitlab-ci.yml 33c52cc9fd added an installation of libgl1-mesa-glx for gitlab-ci 3 年之前
.pylintrc f43cc12a13 improved pylint score 3 年之前
Dockerfile 1259a4330a Resolve "Dockerfile" 4 年之前
Makefile 922ea8fd3d moved test -> tests 3 年之前
README.md 1259a4330a Resolve "Dockerfile" 4 年之前
app.py b5d784be18 deleted Database class. Reworked all view, so that they don't need a database instance 3 年之前
docker-compose.yml 59603d7eba Ammod 4 年之前
requirements.dev.txt 0c8332a22d CI changes: 3 年之前
requirements.txt ccdfae6b81 forgot a dependency 3 年之前
settings.json b5d784be18 deleted Database class. Reworked all view, so that they don't need a database instance 3 年之前

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