Created
December 30, 2021 20:56
-
-
Save GitHubEmploy/0b2454bd4d25bb0e6d89a419dfe69047 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
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') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment