Skip to content

Instantly share code, notes, and snippets.

@satishgunjal
Created October 17, 2020 07:55
Show Gist options
  • Save satishgunjal/307e024b5dc07208a0b4f35ee2a06226 to your computer and use it in GitHub Desktop.
Save satishgunjal/307e024b5dc07208a0b4f35ee2a06226 to your computer and use it in GitHub Desktop.
Add the image to a batch where it's the only member.
# Add the image to a batch where it's the only member.
img = (np.expand_dims(img, 0))
print(img.shape)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment