Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
ae3cf5e7
Commit
ae3cf5e7
authored
Jul 16, 2020
by
Kaushik Shivakumar
Browse files
colab tutorials
parent
4f7d403d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
research/object_detection/colab_tutorials/inference_from_saved_model_tf2_colab.ipynb
...olab_tutorials/inference_from_saved_model_tf2_colab.ipynb
+0
-6
No files found.
research/object_detection/colab_tutorials/inference_from_saved_model_tf2_colab.ipynb
View file @
ae3cf5e7
...
...
@@ -287,11 +287,6 @@
" end_time = time.time()\n",
" elapsed.append(end_time - start_time)\n",
"\n",
" # detection_masks_reframed = ops.reframe_box_masks_to_image_masks(\n",
" # detections['detection_masks'][0],\n",
" # detections['detection_boxes'][0], image_np.shape[0], image_np.shape[1])\n",
" # detection_masks_reframed = tf.cast(detection_masks_reframed > 0.5,\n",
" # tf.uint8).numpy()\n",
" plt.rcParams['figure.figsize'] = [42, 21]\n",
" label_id_offset = 1\n",
" image_np_with_detections = image_np.copy()\n",
...
...
@@ -301,7 +296,6 @@
" detections['detection_classes'][0].numpy().astype(np.int32),\n",
" detections['detection_scores'][0].numpy(),\n",
" category_index,\n",
" # instance_masks=detection_masks_reframed,\n",
" use_normalized_coordinates=True,\n",
" max_boxes_to_draw=200,\n",
" min_score_thresh=.40,\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment