Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import torch
- import torchvision
- import torchvision.transforms as transforms
- num_epochs = 10
- batch_size = 32
- device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement