6
0

Keine Beschreibung

j-bl 823ddc4fa6 Prevent commiting changes made to webui\package-lock.json vor 3 Jahren
labels 65a59aae33 implemented label provider execution as bulk update vor 3 Jahren
migrations 6fecae20ba added hierarchy level attribute to labels vor 3 Jahren
models 59f949815f Improved Coding Style and Small Addition to Inference vor 3 Jahren
pycs 59f949815f Improved Coding Style and Small Addition to Inference vor 3 Jahren
tests a035f99629 updated docker image creation and the docker-compose configuration vor 3 Jahren
webui 823ddc4fa6 Prevent commiting changes made to webui\package-lock.json vor 3 Jahren
.coveragerc fa28cb9780 added a Makefile and converagerc file vor 3 Jahren
.dockerignore a035f99629 updated docker image creation and the docker-compose configuration vor 3 Jahren
.editorconfig 05fab88a78 implemented first version of the crop view. Moved image operations to a separate utils module vor 3 Jahren
.gitignore 1a60221444 final changes for the deployment vor 3 Jahren
.gitlab-ci.yml dc9ce6a951 [ci skip] report of the coverage is duplicated vor 3 Jahren
.pylintrc 63bbf031fe added logger config in the settings.json; replaced all prints with app.logger.info/.debug vor 3 Jahren
Dockerfile a035f99629 updated docker image creation and the docker-compose configuration vor 3 Jahren
Makefile 1a60221444 final changes for the deployment vor 3 Jahren
README.md 1259a4330a Resolve "Dockerfile" vor 4 Jahren
app.py b5d784be18 deleted Database class. Reworked all view, so that they don't need a database instance vor 3 Jahren
docker-compose.yml a035f99629 updated docker image creation and the docker-compose configuration vor 3 Jahren
requirements.dev.txt 0c8332a22d CI changes: vor 3 Jahren
requirements.txt ccdfae6b81 forgot a dependency vor 3 Jahren
settings.json 1a60221444 final changes for the deployment vor 3 Jahren

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