Which seeds have to be set where to realize 100% reproducibility of training results in tensorflow?

前端 未结 2 1002
暗喜
暗喜 2020-11-29 12:17

In a general tensorflow setup like

model = construct_model()
with tf.Session() as sess:
    train_model(sess)

Where construct_model()

2条回答
  •  悲哀的现实
    2020-11-29 13:08

    One possible reason is that when constructing the model, there are some code using numpy.random module. So maybe you can try to set the seed for numpy, too.

提交回复
热议问题