No Description

Dimitri Korsch a5c0c87b53 Merge branch 'ammod' into django_backend 2 years ago
backend 8555bc6287 some fixes in file creation 3 years ago
frontend 5bb7a3274b updated package-lock 3 years ago
labels 370f9ac856 added species complexes in the CSV database and fixed some bugs related to this change (e.g. checks of the hierarchy level entries) 3 years ago
migrations b394a71090 fixed tests; added new requirement; added migration 3 years ago
models 5b4bdb32a3 Added support for single bounding box inference 3 years ago
notebooks 5ca48c322a a change in the notebook 2 years ago
pycs a58a813c20 Some fixes according to the newest changes 2 years ago
tests a58a813c20 Some fixes according to the newest changes 2 years ago
webui 370f9ac856 added species complexes in the CSV database and fixed some bugs related to this change (e.g. checks of the hierarchy level entries) 3 years ago
.coveragerc fa28cb9780 added a Makefile and converagerc file 3 years ago
.dockerignore 6ebef7bd24 some config and docker changes 3 years ago
.editorconfig 05fab88a78 implemented first version of the crop view. Moved image operations to a separate utils module 3 years ago
.gitignore bc26fe9489 Merge branch 'ammod' into ammod-add-users-for-manual-annotations 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 6ebef7bd24 some config and docker changes 3 years ago
README.md 1259a4330a Resolve "Dockerfile" 4 years ago
app.py bc26fe9489 Merge branch 'ammod' into ammod-add-users-for-manual-annotations 3 years ago
docker-compose.yml 6ebef7bd24 some config and docker changes 3 years ago
package-lock.json ade5ab33e6 fixed transaction problems 3 years ago
requirements.dev.txt 0c8332a22d CI changes: 3 years ago
requirements.txt a58a813c20 Some fixes according to the newest changes 2 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