From 2277fb5f77d7f8e21b25584cbe4623bbb3dd9a39 Mon Sep 17 00:00:00 2001 From: ovalle15 Date: Fri, 19 May 2023 11:59:39 -0400 Subject: [PATCH 1/3] Remove raster seg masks --- .../prediction_upload/video_predictions.ipynb | 149 ++++++++++-------- 1 file changed, 85 insertions(+), 64 deletions(-) diff --git a/examples/prediction_upload/video_predictions.ipynb b/examples/prediction_upload/video_predictions.ipynb index 0a4f0a11b..b85487e24 100644 --- a/examples/prediction_upload/video_predictions.ipynb +++ b/examples/prediction_upload/video_predictions.ipynb @@ -41,13 +41,14 @@ "- Polyline\n", "- Classification - radio\n", "- Classification - checklist\n", + "- Classification - free text\n", + "- Nested classifications \n", "\n", "**NOT** supported:\n", "- Polygons \n", "- Segmentation masks\n", - "- Free form text classifications\n", "\n", - "Please note that this list of unsupported annotations only refers to limitations for importing annotations. For example, when using the Labelbox editor, segmentation masks can be created and edited on video assets.\n" + "Please note that this list of unsupported annotations only refers to limitations for importing predictions into a model. For example, when using the Labelbox editor, segmentation masks can be created and edited on video assets but cannot be imported into a model run.\n" ], "cell_type": "markdown" }, @@ -680,45 +681,6 @@ "outputs": [], "execution_count": null }, - { - "metadata": {}, - "source": [ - "##### Raster Segmentation ########\n", - "\n", - "instance_uri = \"https://storage.googleapis.com/labelbox-datasets/video-sample-data/mask_example.png\"\n", - "\n", - "\n", - "\n", - "video_mask_prediction=[\n", - " lb_types.VideoMaskAnnotation(\n", - " frames=[\n", - " lb_types.MaskFrame(index=10, instance_uri=instance_uri)\n", - " ],\n", - " instances=[\n", - " lb_types.MaskInstance(color_rgb=(255,255,255), name=\"video_mask\")\n", - " ] \n", - " )\n", - "]\n", - "\n", - "video_mask_prediction_ndjson = {\n", - " \"masks\": {\n", - " \"frames\": [{\n", - " \"index\": 10,\n", - " \"instanceURI\": instance_uri\n", - " }],\n", - " \"instances\": [\n", - " {\n", - " \"colorRGB\": (255, 255, 255),\n", - " \"name\": \"video_mask\",\n", - " }\n", - " ]\n", - " }\n", - "}" - ], - "cell_type": "code", - "outputs": [], - "execution_count": null - }, { "metadata": {}, "source": [ @@ -763,7 +725,23 @@ "print(\"Failed data rows: \",task.failed_data_rows)" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "There are errors present. Please look at `task.errors` for more details\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Errors: Duplicate global keys found: sample-video-2.mp4\n", + "Failed data rows: [{'message': 'Duplicate global keys found: sample-video-2.mp4', 'failedDataRows': [{'globalKey': 'sample-video-2.mp4', 'rowData': 'https://storage.googleapis.com/labelbox-datasets/video-sample-data/sample-video-2.mp4', 'attachmentInputs': []}]}]\n" + ] + } + ], "execution_count": null }, { @@ -782,7 +760,6 @@ " lb.Tool(tool=lb.Tool.Type.BBOX, name=\"bbox_video\"),\n", " lb.Tool(tool=lb.Tool.Type.POINT, name=\"point_video\"),\n", " lb.Tool(tool=lb.Tool.Type.LINE, name=\"line_video_frame\"),\n", - " lb.Tool(tool=lb.Tool.Type.RASTER_SEGMENTATION, name=\"video_mask\"),\n", " lb.Tool(\n", " tool=lb.Tool.Type.BBOX, name=\"bbox_class\",\n", " classifications=[\n", @@ -912,7 +889,18 @@ "model_run.upsert_data_rows(global_keys=[global_key])" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "True" + ] + }, + "execution_count": 15, + "metadata": {}, + "output_type": "execute_result" + } + ], "execution_count": null }, { @@ -947,7 +935,6 @@ " frame_bbox_with_checklist_subclass_prediction,\n", " global_radio_prediction,\n", " global_checklist_prediction,\n", - " video_mask_prediction,\n", " text_prediction\n", " ]\n", "\n", @@ -988,7 +975,6 @@ " frame_bbox_with_checklist_subclass_prediction_ndjson,\n", " global_radio_classification_ndjson,\n", " global_checklist_classification_ndjson,\n", - " video_mask_prediction_ndjson,\n", " text_prediction_ndjson\n", "]: \n", " annotation.update({\n", @@ -1022,7 +1008,16 @@ "print(\"Status of uploads: \", upload_job_prediction.statuses)" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Errors: []\n", + "Status of uploads: [{'uuid': 'f3c3293c-5827-4da9-952d-adb3fad63552', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'be0e6cd8-30b8-457e-ae31-d30664902599', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '7cc0f028-44ed-4f1e-bf54-24ac3421803c', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '9ab4bc56-5d28-4d96-8771-c71a68df408f', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '5926e8ae-b65c-42bf-a73c-db47906b6e58', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '9811f8cd-6153-4120-ab92-e0ecb0c94938', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'ae19473f-0c96-4db5-8451-f22666aacd2a', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '0ae42618-f5ea-4bba-a7c1-be50957229f8', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '563fb75d-b4de-40fd-9998-7c506a336659', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'abea4c77-3285-41bc-a807-5e0cbff8cc45', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'cb095e77-f6af-48dd-88e1-507e9cc8597f', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}]\n" + ] + } + ], "execution_count": null }, { @@ -1051,7 +1046,15 @@ "project.setup_editor(ontology)" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "Default createProject behavior will soon be adjusted to prefer batch projects. Pass in `queue_mode` parameter explicitly to opt-out for the time being.\n" + ] + } + ], "execution_count": null }, { @@ -1071,7 +1074,18 @@ ")" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 20, + "metadata": {}, + "output_type": "execute_result" + } + ], "execution_count": null }, { @@ -1368,18 +1382,6 @@ "]\n", "\n", "\n", - "instance_uri = \"https://storage.googleapis.com/labelbox-datasets/video-sample-data/mask_example.png\"\n", - "video_mask_annotation=[\n", - " lb_types.VideoMaskAnnotation(\n", - " frames=[\n", - " lb_types.MaskFrame(index=10, instance_uri=instance_uri)\n", - " ],\n", - " instances=[\n", - " lb_types.MaskInstance(color_rgb=(255,255,255), name=\"video_mask\")\n", - " ] \n", - " )\n", - "]\n", - "\n", "text_annotation = [lb_types.ClassificationAnnotation(\n", " name=\"free_text\", # must match your ontology feature's name\n", " value=lb_types.Text(answer=\"sample text\")\n", @@ -1416,7 +1418,6 @@ " polyline_annotation,\n", " global_checklist_annotation,\n", " global_radio_annotation,\n", - " video_mask_annotation,\n", " nested_checklist_annotation,\n", " nested_radio_annotation,\n", " text_annotation\n", @@ -1457,7 +1458,16 @@ "print(\"Status of uploads: \", upload_job_annotation.statuses)" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Errors: []\n", + "Status of uploads: [{'uuid': '18f75f9a-ae38-4839-9d1b-5d5ba79167d2', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'ea2e1890-09d5-45ad-a37d-895e89b7a7b8', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '92e329c5-4dea-4370-b7be-3ef8e65e9e5a', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '11c93223-b8bb-4ef6-9647-9bb28d605e51', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '807ae575-083c-4fcb-a876-312758df3238', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '5b6a07f6-e57f-49a4-a770-1d4dcbf95b41', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '8a49c009-367b-479b-a04e-59a4cc9459db', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'd8fde3b0-4224-4eff-ada9-724e9bfda18e', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '301e5050-81a5-4755-ad6a-ff7a77f4ef75', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '082f10ec-60d3-49ed-8475-1a7302dc703d', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '8b715636-fc08-4731-ba98-1fd8e64216e6', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}]\n" + ] + } + ], "execution_count": null }, { @@ -1474,7 +1484,18 @@ "model_run.upsert_labels(project_id=project.uid)" ], "cell_type": "code", - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "True" + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], "execution_count": null }, { From b3ef1e9aaae38cf244b0f6b1c45156465232afbf Mon Sep 17 00:00:00 2001 From: ovalle15 Date: Fri, 19 May 2023 12:17:50 -0400 Subject: [PATCH 2/3] Remove raster seg masks --- .../prediction_upload/video_predictions.ipynb | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/examples/prediction_upload/video_predictions.ipynb b/examples/prediction_upload/video_predictions.ipynb index b85487e24..7ac51b256 100644 --- a/examples/prediction_upload/video_predictions.ipynb +++ b/examples/prediction_upload/video_predictions.ipynb @@ -45,10 +45,9 @@ "- Nested classifications \n", "\n", "**NOT** supported:\n", - "- Polygons \n", - "- Segmentation masks\n", - "\n", - "Please note that this list of unsupported annotations only refers to limitations for importing predictions into a model. For example, when using the Labelbox editor, segmentation masks can be created and edited on video assets but cannot be imported into a model run.\n" + "- Polygons [not supported in video editor or model]\n", + "- Segmentation masks [not supported in model] \n", + "\n" ], "cell_type": "markdown" }, @@ -849,7 +848,7 @@ "\n", "ontology = client.create_ontology(\"Ontology Video Annotations\", \n", " ontology_builder.asdict(), \n", - " # media_type=lb.MediaType.Video\n", + " media_type=lb.MediaType.Video\n", " )" ], "cell_type": "code", @@ -896,7 +895,7 @@ "True" ] }, - "execution_count": 15, + "execution_count": 90, "metadata": {}, "output_type": "execute_result" } @@ -1014,7 +1013,7 @@ "output_type": "stream", "text": [ "Errors: []\n", - "Status of uploads: [{'uuid': 'f3c3293c-5827-4da9-952d-adb3fad63552', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'be0e6cd8-30b8-457e-ae31-d30664902599', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '7cc0f028-44ed-4f1e-bf54-24ac3421803c', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '9ab4bc56-5d28-4d96-8771-c71a68df408f', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '5926e8ae-b65c-42bf-a73c-db47906b6e58', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '9811f8cd-6153-4120-ab92-e0ecb0c94938', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'ae19473f-0c96-4db5-8451-f22666aacd2a', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '0ae42618-f5ea-4bba-a7c1-be50957229f8', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '563fb75d-b4de-40fd-9998-7c506a336659', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'abea4c77-3285-41bc-a807-5e0cbff8cc45', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'cb095e77-f6af-48dd-88e1-507e9cc8597f', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}]\n" + "Status of uploads: [{'uuid': 'e3145fa9-42b8-466f-9ac5-0130aeab1060', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '04e035b4-3083-4408-9a67-9cb52cbe027b', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'aafaeda7-8ba3-4df1-8e42-a02fe72add94', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '956687f4-091c-4dc0-9c84-0b4e35ae451b', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'b7c6e33e-2cc4-46be-8a1f-d920cabf115b', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'daff0aff-8834-4e80-97f5-cf2d38684c5c', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'a611c275-39d8-47aa-808c-969692eb1698', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '9ed7be94-bf89-432b-99ff-c834f31087f0', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '6ed2ef7c-e83a-48e6-8073-c291779c7497', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '14a4950f-0835-49bb-a968-81c41cda6869', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '5bd23f6c-ab87-44b0-a32b-49c84f72b06c', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}]\n" ] } ], @@ -1078,10 +1077,10 @@ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 20, + "execution_count": 95, "metadata": {}, "output_type": "execute_result" } @@ -1464,7 +1463,7 @@ "output_type": "stream", "text": [ "Errors: []\n", - "Status of uploads: [{'uuid': '18f75f9a-ae38-4839-9d1b-5d5ba79167d2', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'ea2e1890-09d5-45ad-a37d-895e89b7a7b8', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '92e329c5-4dea-4370-b7be-3ef8e65e9e5a', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '11c93223-b8bb-4ef6-9647-9bb28d605e51', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '807ae575-083c-4fcb-a876-312758df3238', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '5b6a07f6-e57f-49a4-a770-1d4dcbf95b41', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '8a49c009-367b-479b-a04e-59a4cc9459db', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'd8fde3b0-4224-4eff-ada9-724e9bfda18e', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '301e5050-81a5-4755-ad6a-ff7a77f4ef75', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '082f10ec-60d3-49ed-8475-1a7302dc703d', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '8b715636-fc08-4731-ba98-1fd8e64216e6', 'dataRow': {'id': 'clhpc7h2y11oa07cjfk2dg67d', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}]\n" + "Status of uploads: [{'uuid': 'c5ddce8f-c672-49d7-bc43-f4cc5afbe0f2', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '9b2bf816-6f22-4b05-818a-d200a2061a94', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'f6bf224d-a295-484b-8078-16e49e7583ec', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '0602a136-8383-49c0-be64-36ea1499cd31', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '306df4bd-a22d-48c7-bfee-fb0e8695d965', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '60ec1dfc-64bb-4354-98f0-67aec7794bac', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '6fd8c58d-883d-4fdb-9bdc-598c663e0ad4', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '200c256f-b6cd-4469-987a-e9d773dc5715', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': 'b1c3ccbe-21fd-4c41-aeee-e2df9732cd5f', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '7682c660-147a-4cf8-9b3a-a15859100142', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}, {'uuid': '4e80a895-3722-49e9-8d00-15eded343a60', 'dataRow': {'id': 'clfco73at0080079n5dhm9y3a', 'globalKey': 'sample-video-2.mp4'}, 'status': 'SUCCESS'}]\n" ] } ], @@ -1491,7 +1490,7 @@ "True" ] }, - "execution_count": 24, + "execution_count": 99, "metadata": {}, "output_type": "execute_result" } From ade9f8b2869db300e2bd49a31eb8fafe3971e35b Mon Sep 17 00:00:00 2001 From: ovalle15 Date: Mon, 22 May 2023 10:26:02 -0400 Subject: [PATCH 3/3] Update text in not supported section --- examples/prediction_upload/video_predictions.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/prediction_upload/video_predictions.ipynb b/examples/prediction_upload/video_predictions.ipynb index 7ac51b256..d9dc78c4f 100644 --- a/examples/prediction_upload/video_predictions.ipynb +++ b/examples/prediction_upload/video_predictions.ipynb @@ -46,7 +46,8 @@ "\n", "**NOT** supported:\n", "- Polygons [not supported in video editor or model]\n", - "- Segmentation masks [not supported in model] \n", + "- Raster segmentation masks [not supported in model] \n", + "- Vector segmentation masks [not supported in video editor]\n", "\n" ], "cell_type": "markdown"