Skip to content

Commit

Permalink
Adjusted Tutorial Notebook
Browse files Browse the repository at this point in the history
- Some markdown didn't make sense talking about TPs, FPs, FNs, and TNs in the context of the spectrogram_visualization() changes
  • Loading branch information
JacobGlennAyers committed May 23, 2022
1 parent de5a9e0 commit 4f3549d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions PyHa_Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1681,11 +1681,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Graph with Both Automated and Human Labels \n",
" Orange ==> True Positive\n",
" Red ==> False Negative\n",
" Yellow ==> False Positive\n",
" White ==> True Negative"
"### Graph with Both Automated and Human Labels "
]
},
{
Expand All @@ -1699,7 +1695,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"WARNING:tensorflow:5 out of the last 13 calls to <function Model.make_predict_function.<locals>.predict_function at 0x7f4acd53b710> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has experimental_relax_shapes=True option that relaxes argument shapes that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.\n"
"WARNING:tensorflow:5 out of the last 13 calls to <function Model.make_predict_function.<locals>.predict_function at 0x7ff7dd73cdd0> triggered tf.function retracing. Tracing is expensive and the excessive number of tracings could be due to (1) creating @tf.function repeatedly in a loop, (2) passing tensors with different shapes, (3) passing Python objects instead of tensors. For (1), please define your @tf.function outside of the loop. For (2), @tf.function has experimental_relax_shapes=True option that relaxes argument shapes that can avoid unnecessary retracing. For (3), please refer to https://www.tensorflow.org/guide/function#controlling_retracing and https://www.tensorflow.org/api_docs/python/tf/function for more details.\n"
]
},
{
Expand Down

0 comments on commit 4f3549d

Please sign in to comment.