This reposity contains some serverless functionality for semi-auto annotations.
Execute one of the following command from cvat root directory
Deploy CPU container:
./serverless/deploy_cpu.sh serverless/pytorch/ultralytics/yolov5Deploy GPU container:
./serverless/deploy_gpu.sh serverless/pytorch/ultralytics/yolov5Method-1
Find docker id from
docker container ls
Getting the logs
docker container logs {docker-id}
docker container rm {docker-id} -f # For realtime logs
Method-2
Find docker name from function.yaml or function-gpu.yaml
Getting the logs
docker container logs {docker-name}
docker container rm {docker-name} -f # For realtime logs
Method-1
Find docker id from
docker container ls
Stop and remove container
docker container stop {docker-id}
docker container rm {docker-id}
Method-2
Find docker name from function.yaml or function-gpu.yaml
Stop and remove container
docker container stop {docker-name}
docker container rm {docker-name}
Detector :
| name | Data-Type | Format | 
|---|---|---|
| confidence | string | between 0-1 | 
| label | string | labels.get(class_id, "unknown") | 
| type | string | Fixed value=rectangle | 
| points | list | [x1, y1, x2, y2] | 
Segmentation :
| name | Data-Type | Format | 
|---|---|---|
| confidence | string | between 0-1 | 
| label | string | labels.get(class_id, "unknown") | 
| type | string | Fixed value=mask | 
| points | list | a list of points representing a single polygon (x1, y1, x2, y2, x3, y3, ..., xn, yn), | 
| mask | list | a list of 0 and 1 representing a binary mask cropped around the object, with the last four elements representing the top left and bottom right coordinates of the object's bounding box, (x_top_left, y_top_left, x_bottom_right, y_bottom_right) | 
Allowed label method:
"rectangle","polygon","polyline","points","ellipse","cuboid","skeleton","mask"