Skip to content

Commit

Permalink
Add object detection colab to index.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 211961102
  • Loading branch information
TensorFlow Hub Authors authored and vbardiovskyg committed Sep 7, 2018
1 parent 5b49a05 commit 5cfbe50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ Explores action recognition from video.
Exemplifies use of the [DELF Module](https://tfhub.dev/google/delf/1) for landmark recognition and matching.


#### [`colab/object_detection.ipynb`](colab/object_detection.ipynb)

Explores object detection with the use of the
[Faster R-CNN module trained on Open Images v4](https://tfhub.dev/google/faster_rcnn/openimages_v4/inception_resnet_v2/1).


## Python scripts

#### [`image_retraining`](image_retraining)
Expand Down
2 changes: 1 addition & 1 deletion examples/colab/object_detection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
" [result, decoded_image],\n",
" feed_dict={image_string_placeholder: image_string})\n",
" print(\"Found %d objects.\" % len(result_out[\"detection_scores\"]))\n",
" print(\"Inference took %.2f seconds\" % (time.clock()-inference_start_time))\n",
" print(\"Inference took %.2f seconds.\" % (time.clock()-inference_start_time))\n",
"\n",
" image_with_boxes = draw_boxes(\n",
" np.array(image_out), result_out[\"detection_boxes\"],\n",
Expand Down

0 comments on commit 5cfbe50

Please sign in to comment.