Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 712 Bytes

File metadata and controls

38 lines (24 loc) · 712 Bytes

CL_for_ImageSegmentation_APP

img

docker compose

using docker compose to setup for redis, minio & postgresql

docker-compose up -d

Minio Setup

create two bucket named dataset & model, change access policy to public.

Celery startup

## start celery worker
celery -A celery_worker worker --loglevel=info --concurrency=1 --pool=solo

Fastapi startup

## start fastapi app
python app.py

API test

you can use the postman collection for api-testing.

There are also some useful files for testing at samples

  • postman collection: cl_app.postman_collection.json
  • dataset zip sample: dataset.zip