Skip to content

Commit 7b3ed1e

Browse files
committed
README追記
1 parent 70190dd commit 7b3ed1e

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff 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

34853534
Execute auto-annotation job.

0 commit comments

Comments
 (0)