docs icon indicating copy to clipboard operation
docs copied to clipboard

Wrong x-axis label order

Open FrankXu1 opened this issue 1 year ago • 5 comments

Just take a look at this chapter's graph www.tensorflow.org/tutorials/audio/simple_audio#run_inference_on_an_audio_file You may find It is wrong actually. Result is not campatible with the words. It seems you posted the wrong order of x-axis labels. The correct order is followed by initial characters by alphabet order. So I propose it should be ['down', 'go', 'left', 'no', 'right', 'stop', 'up', 'yes'] I am not so sure whether there are any hidden possible order I did not notice from this. If have, please tell me and then take the correction order.

FrankXu1 avatar Mar 29 '23 09:03 FrankXu1

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Mar 29 '23 09:03 google-cla[bot]

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin master

github-actions[bot] avatar Mar 29 '23 09:03 github-actions[bot]

I agreed to @FrankXu1. After we reorder the label, the model predicted correctly.

I am not sure if we can put the label in this way or not. but seem the model work well after reorder the label and testing with other inferent data.

MaskedFaceDataSet avatar Apr 03 '23 08:04 MaskedFaceDataSet

This looks good to me

vijayasarathib avatar Aug 19 '23 22:08 vijayasarathib

Also there is another error at Image Classification with TensorFlow Hub.

In the last code block, the document says the object in the given image is blowing glass but actually it is a leatherback turtle.

image

I manually ran the notebook, the result shows as follows.

image

WangYihang avatar May 29 '24 07:05 WangYihang