File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -3480,6 +3480,55 @@ training_job = client.execute_evaluation_job(
34803480
34813481```
34823482
3483+ ### Get auto-annotation jobs
3484+
3485+ Get auto-annotation jobs.
3486+
3487+ ``` python
3488+ def get_auto_annotation_jobs () -> list[dict ]:
3489+ all_auto_annotation_jobs = []
3490+ offset = None
3491+ while True :
3492+ time.sleep(1 )
3493+
3494+ auto_annotation_jobs = client.get_auto_annotation_jobs(project = " YOUR_PROJECT_SLUG" , offset = offset)
3495+ all_auto_annotation_jobs.extend(auto_annotation_jobs)
3496+
3497+ if len (auto_annotation_jobs) > 0 :
3498+ offset = len (all_auto_annotation_jobs)
3499+ else :
3500+ break
3501+ return all_auto_annotation_jobs
3502+
3503+ ```
3504+
3505+ #### Response
3506+
3507+ Example of a single auto-annotation job.
3508+
3509+ ``` python
3510+
3511+ [
3512+ {
3513+ ' audioSeconds' : 0 ,
3514+ ' autoAnnotationType' : ' image_bbox' ,
3515+ ' completedAt' : ' 2024-09-24T03:27:41.000Z' ,
3516+ ' contentCount' : 1000 ,
3517+ ' createdAt' : ' 2024-09-24T03:14:26.607Z' ,
3518+ ' duration' : 793 ,
3519+ ' id' : ' YOUR_AUTO_ANNOTATION_JOB_ID' ,
3520+ ' modelName' : ' Computer Vision - 汎用' ,
3521+ ' msgCode' : ' none' ,
3522+ ' status' : ' completed' ,
3523+ ' taskAnnotationCount' : 2598 ,
3524+ ' updatedAt' : ' 2024-09-24T03:27:40.914Z' ,
3525+ ' userName' : ' USER_NAME' ,
3526+ ' version' : 1
3527+ }
3528+ ]
3529+
3530+ ```
3531+
34833532### Execute auto-annotation job
34843533
34853534Execute auto-annotation job.
You can’t perform that action at this time.
0 commit comments