Manually seed training for reproducibility
This commit is contained in:
parent
4d8d419d31
commit
3f2c6d18a3
2
train.py
2
train.py
|
@ -4,6 +4,8 @@ import torch
|
||||||
from matplotlib import pyplot
|
from matplotlib import pyplot
|
||||||
from mpl_toolkits.axisartist.axislines import SubplotZero
|
from mpl_toolkits.axisartist.axislines import SubplotZero
|
||||||
|
|
||||||
|
torch.manual_seed(42)
|
||||||
|
|
||||||
# Number of symbols to learn
|
# Number of symbols to learn
|
||||||
order = 4
|
order = 4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue