Aucune description

Dimitri Korsch 34e55634d2 resetting the selected box in the info box if another image is selected il y a 4 ans
labels 0cd8b0d1ea Merge branch 'master' into ammod il y a 4 ans
migrations 0cd8b0d1ea Merge branch 'master' into ammod il y a 4 ans
models ea8356b91b minor fixes in the tests il y a 4 ans
pycs 5e25aeb8a0 added a prototype of a cropped info box il y a 4 ans
test 2dad92dc59 added test for label removal and fixed a bug about it il y a 4 ans
webui 34e55634d2 resetting the selected box in the info box if another image is selected il y a 4 ans
.dockerignore 1259a4330a Resolve "Dockerfile" il y a 4 ans
.editorconfig d2f98b4a24 working on an alternative crop view il y a 4 ans
.gitignore c855f64876 Resolve "backend storage system" il y a 4 ans
.gitlab-ci.yml e5aac193a8 refactored green worker methods. Some import changes in Project module il y a 4 ans
Dockerfile 1259a4330a Resolve "Dockerfile" il y a 4 ans
Makefile f11be5453f a very important foreign key fix il y a 4 ans
README.md 1259a4330a Resolve "Dockerfile" il y a 4 ans
app.py 1ab5050a2f reworked DB models to SQLAlchemy il y a 4 ans
docker-compose.yml aae942a54b added a requirements and a docker-compose files il y a 4 ans
requirements.txt c40e60914d fixing bugs resulting from the change il y a 4 ans
settings.json f11be5453f a very important foreign key fix 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