Aucune description

Dimitri Korsch 3b2bda9dca bug fixes in label creation and removal il y a 4 ans
labels 7273c83625 added flat model label reader il y a 4 ans
migrations d7076a97ab deleted Database class. Reworked all view, so that they don't need a database instance il y a 4 ans
models 7273c83625 added flat model label reader il y a 4 ans
pycs 3b2bda9dca bug fixes in label creation and removal il y a 4 ans
test 4b53dd5751 fixed database tests il y a 4 ans
webui 2fee310ab7 Merge remote-tracking branch 'gitlab/crop_view' into 150-flask-sqlalchemy il y a 4 ans
.coveragerc 3cdd0a517f added a Makefile and converagerc file il y a 4 ans
.dockerignore 1259a4330a Resolve "Dockerfile" il y a 4 ans
.editorconfig 05fab88a78 implemented first version of the crop view. Moved image operations to a separate utils module il y a 4 ans
.gitignore 3cdd0a517f added a Makefile and converagerc file il y a 4 ans
.gitlab-ci.yml 101f065868 CI changes: il y a 4 ans
.pylintrc 101f065868 CI changes: il y a 4 ans
Dockerfile 1259a4330a Resolve "Dockerfile" il y a 4 ans
Makefile 101f065868 CI changes: il y a 4 ans
README.md 1259a4330a Resolve "Dockerfile" il y a 4 ans
app.py d7076a97ab deleted Database class. Reworked all view, so that they don't need a database instance il y a 4 ans
docker-compose.yml 59603d7eba Ammod il y a 4 ans
requirements.dev.txt 101f065868 CI changes: il y a 4 ans
requirements.txt 101f065868 CI changes: il y a 4 ans
settings.json d7076a97ab deleted Database class. Reworked all view, so that they don't need a database instance il y a 4 ans

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