Skip to content

Instantly share code, notes, and snippets.

@aravindpai aravindpai/seed.py
Created Jan 27, 2020

Embed
What would you like to do?
#Reproducing same results
SEED = 2019
#Torch
torch.manual_seed(SEED)
#Cuda algorithms
torch.backends.cudnn.deterministic = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.