Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZooBeasts authored Sep 28, 2024
1 parent 88c27e3 commit 79855cd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from __future__ import print_function

import random
import torch.optim as optim
import torch.utils.data
Expand All @@ -12,14 +12,11 @@
from Model import Critic, Generator, initialize_weights


# torch.autograd.set_detect_anomaly(True)
# Get GPU Information

print("CUDA is available: {}".format(torch.cuda.is_available()))
print("CUDA Device Count: {}".format(torch.cuda.device_count()))
print("CUDA Device Name: {}".format(torch.cuda.get_device_name(0)))

save_dir = 'E:/85_data/'
save_dir = 'E:/'

Batch_size = 64
nc = 1
Expand Down

0 comments on commit 79855cd

Please sign in to comment.