Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. import torch
  2. import torchvision
  3. import torchvision.transforms as transforms
  4.  
  5. num_epochs = 10
  6. batch_size = 32
  7. device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement