Browse Source

Manually seed training for reproducibility

master
Mattéo Delabre 4 years ago
parent
commit
3f2c6d18a3
Signed by: matteo GPG Key ID: AE3FBD02DC583ABB
  1. 2
      train.py

2
train.py

@ -4,6 +4,8 @@ import torch
from matplotlib import pyplot
from mpl_toolkits.axisartist.axislines import SubplotZero
torch.manual_seed(42)
# Number of symbols to learn
order = 4

Loading…
Cancel
Save