No Description

Dimitri Korsch 53f39de67d minor changes in the management script in .gitignore files 3 years ago
labels 1324058814 added another label_provider implementation using pandas DataFrames. Added config for species from only german-speaking countries 3 years ago
migrations 6fecae20ba added hierarchy level attribute to labels 3 years ago
models 59f949815f Improved Coding Style and Small Addition to Inference 3 years ago
notebooks 53f39de67d minor changes in the management script in .gitignore files 3 years ago
pycs 53f39de67d minor changes in the management script in .gitignore files 3 years ago
tests 769b3c8252 Unittest for pre-generation of thumbnails 3 years ago
webui 9af095466b minor fixes in the code 3 years ago
.coveragerc fa28cb9780 added a Makefile and converagerc file 3 years ago
.dockerignore a035f99629 updated docker image creation and the docker-compose configuration 3 years ago
.editorconfig 05fab88a78 implemented first version of the crop view. Moved image operations to a separate utils module 3 years ago
.gitignore 53f39de67d minor changes in the management script in .gitignore files 3 years ago
.gitlab-ci.yml dc9ce6a951 [ci skip] report of the coverage is duplicated 3 years ago
.pylintrc 93b7cf4611 fixed pylint score 3 years ago
Dockerfile a035f99629 updated docker image creation and the docker-compose configuration 3 years ago
Makefile 1a60221444 final changes for the deployment 3 years ago
README.md 1259a4330a Resolve "Dockerfile" 4 years ago
app.py 7ef87b7951 added command for thumbnail generation 3 years ago
docker-compose.yml a035f99629 updated docker image creation and the docker-compose configuration 3 years ago
requirements.dev.txt 0c8332a22d CI changes: 3 years ago
requirements.txt 8dec9b8032 added the tqdm requirement 3 years ago
settings.json e6f8044551 fixed create_result method 3 years ago

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