From 8ebfe80dd4ebc9773b77235ebcda514c66bd7543 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Tue, 11 Dec 2018 21:49:19 -0200 Subject: [PATCH] Set graph's random seed when training --- DeepSpeech.py | 1 + 1 file changed, 1 insertion(+) diff --git a/DeepSpeech.py b/DeepSpeech.py index 72ed9173..c8afc030 100755 --- a/DeepSpeech.py +++ b/DeepSpeech.py @@ -890,6 +890,7 @@ def main(_): if len(FLAGS.worker_hosts) == 0: # Only one local task: this process (default case - no cluster) with tf.Graph().as_default(): + tf.set_random_seed(FLAGS.random_seed) train() # Now do a final test epoch if FLAGS.test: