Skip to content

Fix the Image dtype to uint8 for plt.imshow Visualization - #2449

Open
gdaffa wants to merge 1 commit into
tensorflow:masterfrom
gdaffa:fix/augmented-image-range
Open

gdaffa wants to merge 1 commit into
tensorflow:masterfrom
gdaffa:fix/augmented-image-range

Conversation

@gdaffa

@gdaffa gdaffa commented Nov 30, 2026

Copy link
Copy Markdown

Cast the image to uint8 to show the augmentation that occurred, especially to help beginners as this documentation appear in tutorials/ path.

@gdaffa
gdaffa requested a review from a team as a code owner November 30, 2026 07:20
@github-actions

Copy link
Copy Markdown

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 fix/augmented-image-range

@gdaffa

gdaffa commented Nov 30, 2026

Copy link
Copy Markdown
Author

Oh and also I forgot to report that in the same page, this image is somehow on the wrong cell output, I dont know how it get there
rose wrong cell output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant