Image annotation web application for machine learning
100K+
Install and start Docker
Run the following command:
docker build -t ml-pic-annotate .
Build the Docker as described above. Run the command:
docker run --rm -ti -p 8080:8080 ml-pic-annotate
You can then open your browser at http://localhost:8080
To start it:
uwsgi -H .env -s /tmp/ml-pic-annotate.sock \
--env toto_proxy=toto \
-w main:app \
--daemonize $PWD/uwsgi.log \
--logger file:$PWD/ml-pic-annotate-uwsgi.log \
--pidfile $PWD/ml-pic-annotate-uwsgi.pid
Then to stop it:
uwsgi --stop $PWD/ml-pic-annotate-uwsgi.pid
Set up environment
virtualenv .env
.env/bin/activate
pip install -r requirements.txt
Start Flask application: python main.py
Before committing, ensure that Python unit-tests pass:
python tests/test_api.py
If you modify API, update swagger.yaml accordingly.
You can advised to use the swagger online editor
Please use scripts/swagger-check script to ensure the file is valid.
Created by Francesco Casalegno, packaged by Tristan Carel
Content type
Image
Digest
Size
350.5 MB
Last updated
over 8 years ago
docker pull tristan0x/ml-pic-annotate