Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 937be98

Browse files
Update labels.py
1 parent 81dd6f1 commit 937be98

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

labelpandas/labels.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
"""
2+
labels.py holds the function create_annotation_upload_dict() -- which creates the following style dictionary:
3+
{
4+
project_id :
5+
[
6+
annotation_ndjson,
7+
annotation_ndjson,
8+
annotation_ndjson,
9+
],
10+
project_id :
11+
[
12+
annotation_ndjson,
13+
annotation_ndjson,
14+
annotation_ndjson,
15+
],
16+
}
17+
This is the format that labelbase.uploader.batch_upload_annotations() expects
18+
"""
19+
120
import pandas
221
from labelbox import Client as labelboxClient
322

0 commit comments

Comments
 (0)