Skip to content

Reshape images to 2D so imshow can show them - #276

Open
grofte wants to merge 1 commit into
google:mainfrom
grofte:patch-2
Open

grofte wants to merge 1 commit into
google:mainfrom
grofte:patch-2

Conversation

@grofte

@grofte grofte commented Jan 18, 2023

Copy link
Copy Markdown

The images were shaped as (8, 8, 1) so np.squeeze removes the degenerate dimension and allows matplotlib to plot the image.

The images were shaped as (8, 8, 1) so `np.squeeze` removes the degenerate dimension and allows matplotlib to plot the image.

This branch has not been deployed

No deployments
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