Skip to content

Commit f66d389

Browse files
committed
ani
1 parent ef08f5a commit f66d389

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: DCGAN/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
# Hyperparameters
12-
DEVICE = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
12+
DEVICE = "cuda:0" if torch.cuda.is_available() else "cpu"
1313

1414
IMG_SIZE = (64,64)
1515
IMG_CHANNELS = 3

Diff for: WGAN-GP/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
# Hyperparameters
12-
DEVICE = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
12+
DEVICE = "cuda:0" if torch.cuda.is_available() else "cpu"
1313

1414
IMG_SIZE = (64,64)
1515
IMG_CHANNELS = 3

0 commit comments

Comments
 (0)