-
-
Save rafalpronko/09b2ce9c6ee24289d8f06c885e2a50a8 to your computer and use it in GitHub Desktop.
This file contains 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
# create the transformer for put the data to the tensor | |
transforms = transforms.Compose([ | |
transforms.ToTensor() | |
]) | |
# load the train data - if not exists download it | |
train_dataset_py = torchvision.datasets.FashionMNIST(root='/content/drive/My Drive/article/data/', | |
train=True, | |
transform=transforms, | |
download=True) | |
test_dataset_py = torchvision.datasets.FashionMNIST(root='/content/drive/My Drive/article/data/', | |
train=False, | |
transform=transforms, | |
download=True) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment