Skip to content

This reposity contains some serverless functionality for auto annotations

Notifications You must be signed in to change notification settings

hardikdava/cvat_plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cvat-serverless

This reposity contains some serverless functionality for semi-auto annotations.

Start Container:

Execute one of the following command from cvat root directory

Deploy CPU container:

./serverless/deploy_cpu.sh serverless/pytorch/ultralytics/yolov5

Deploy GPU container:

./serverless/deploy_gpu.sh serverless/pytorch/ultralytics/yolov5

Getting Logs of Container:

Method-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

Stop Container:

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}

Types of Annotation Format:

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"

About

This reposity contains some serverless functionality for auto annotations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages