File size: 217 Bytes
fb9bb41
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import matplotlib.pyplot as plt 
import torch
from torchvision import datasets
import numpy as py

dataset=datasets.MNIST('../data')
x=dataset.data[8888]
print(x.shape)
#print("pic info",x)
#x.save("imageexample.png")