Skip to content

Commit 7c17c8f

Browse files
authored
Update video_predictions.ipynb
1 parent eae0130 commit 7c17c8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/prediction_upload/video_predictions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
},
326326
{
327327
"metadata": {},
328-
"source": "# Create a Label object by identifying the applicable data row in Labelbox and providing a list of annotations\n\nlabels = []\nannotations_list = [\n checklist_annotation,\n radio_annotation,\n bbox_annotation,\n frame_bbox_with_checklist_subclass,\n point_annotation,\n polyline_annotation,\n global_checklist_annotation,\n global_radio_annotation,\n nested_checklist_annotation,\n nested_radio_annotation,\n text_annotation,\n]\n\nflatten_list_annotations = [\n ann for ann_sublist in annotations_list for ann in ann_sublist\n]\n\nlabels.append(\n lb_types.Label(\n data=lb_types.VideoData(global_key=global_key),\n annotations=flatten_list_annotations,\n ))",
328+
"source": "# Create a Label object by identifying the applicable data row in Labelbox and providing a list of annotations\n\nlabels = []\nannotations_list = [\n checklist_annotation,\n radio_annotation,\n bbox_annotation,\n frame_bbox_with_checklist_subclass,\n point_annotation,\n polyline_annotation,\n global_checklist_annotation,\n global_radio_annotation,\n nested_checklist_annotation,\n nested_radio_annotation,\n text_annotation,\n]\n\nflatten_list_annotations = [\n ann for ann_sublist in annotations_list for ann in ann_sublist\n]\n\nlabels.append(\n lb_types.Label(\n data={"global_key":global_key},\n annotations=flatten_list_annotations,\n ))",
329329
"cell_type": "code",
330330
"outputs": [],
331331
"execution_count": null
@@ -373,4 +373,4 @@
373373
"execution_count": null
374374
}
375375
]
376-
}
376+
}

0 commit comments

Comments
 (0)