Created
December 29, 2019 16:06
-
-
Save omarsar/c6849cb63bc615cad17ba0be92a0418d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## load the entire dataset | |
x, y = next(iter(train_dataset)) | |
## print one example | |
dim = x.shape[1] | |
print("Dimension of image:", x.shape, "\n", | |
"Dimension of labels", y.shape) | |
plt.imshow(x[160].reshape(1, 3, 224, 224).squeeze().T.numpy()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment