Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a9523bb

Browse files
removed unnecessary code in notebook
1 parent cb27e5e commit a9523bb

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

‎live_object_detection.ipynb

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -522,67 +522,6 @@
522522
"\n",
523523
"run_inference(detection_model, cap)"
524524
]
525-
},
526-
{
527-
"cell_type": "markdown",
528-
"metadata": {
529-
"colab_type": "text",
530-
"id": "DsspMPX3Cssg"
531-
},
532-
"source": [
533-
"## Instance Segmentation"
534-
]
535-
},
536-
{
537-
"cell_type": "code",
538-
"execution_count": null,
539-
"metadata": {
540-
"colab": {},
541-
"colab_type": "code",
542-
"id": "CzkVv_n2MxKC"
543-
},
544-
"outputs": [],
545-
"source": [
546-
"model_name = \"mask_rcnn_inception_resnet_v2_atrous_coco_2018_01_28\"\n",
547-
"masking_model = load_model(\"mask_rcnn_inception_resnet_v2_atrous_coco_2018_01_28\")"
548-
]
549-
},
550-
{
551-
"cell_type": "markdown",
552-
"metadata": {
553-
"colab_type": "text",
554-
"id": "0S7aZi8ZOhVV"
555-
},
556-
"source": [
557-
"The instance segmentation model includes a `detection_masks` output:"
558-
]
559-
},
560-
{
561-
"cell_type": "code",
562-
"execution_count": null,
563-
"metadata": {
564-
"colab": {},
565-
"colab_type": "code",
566-
"id": "vQ2Sj2VIOZLA"
567-
},
568-
"outputs": [],
569-
"source": [
570-
"masking_model.output_shapes"
571-
]
572-
},
573-
{
574-
"cell_type": "code",
575-
"execution_count": null,
576-
"metadata": {
577-
"colab": {},
578-
"colab_type": "code",
579-
"id": "AS57rZlnNL7W"
580-
},
581-
"outputs": [],
582-
"source": [
583-
"for image_path in TEST_IMAGE_PATHS:\n",
584-
" run_inference(masking_model, cap)"
585-
]
586525
}
587526
],
588527
"metadata": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /