Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SubmissionsIn authored Mar 5, 2023
1 parent 361a379 commit df1ad15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
def setup_seed(seed):
torch.manual_seed(seed)
torch.cuda.manual_seed_all(seed)
# np.random.seed(seed)
# random.seed(seed)
# np.random.seed(seed)
# random.seed(seed)
torch.backends.cudnn.deterministic = True


Expand Down

0 comments on commit df1ad15

Please sign in to comment.