114
The procedure for loading the MNIST data might be a bit different in PyTorch, using
data loaders instead of data frames, but you can still use data frames, arrays, and so on
in PyTorch after converting them to tensors. The procedure is usually to convert the data
frame to a numpy array and then to a PyTorch tensor.
Let’s move on to creating your model (Figure
3-57
).
Do'stlaringiz bilan baham: