Skip to content

Commit

Permalink
Update main.py (#337)
Browse files Browse the repository at this point in the history
Remove unnecessary code
  • Loading branch information
Atcold authored and soumith committed Apr 24, 2018
1 parent 645c7c3 commit d7e452e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dcgan/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
print("Random Seed: ", opt.manualSeed)
random.seed(opt.manualSeed)
torch.manual_seed(opt.manualSeed)
if opt.cuda:
torch.cuda.manual_seed_all(opt.manualSeed)

cudnn.benchmark = True

Expand Down

0 comments on commit d7e452e

Please sign in to comment.