carpentries-incubator / deep-learning-intro

Learn Deep Learning with Python
https://carpentries-incubator.github.io/deep-learning-intro/
Other
30 stars 37 forks source link

Episode 2 random seed #388

Closed laurasootes closed 10 months ago

laurasootes commented 10 months ago

In episode 2 of the workshop, in step 4 of the workflow two random seeds are set:

from numpy.random import seed
seed(1)
from tensorflow.random import set_seed
set_seed(2)

However, the tensorflow.random.set_seed is not the correct one to set, right now the results are not consistent when rerunning the entire workflow