From 0faabe5c46f8b9b481c284c3e027c667ea5d096c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Sa=CC=88nger?= <mario.saenger@student.hu-berlin.de> Date: Sat, 5 May 2018 11:07:33 +0200 Subject: [PATCH] Re-enable multi-core tf execution for development purposes --- code_mario/init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code_mario/init.py b/code_mario/init.py index 71c6dc4..04658c6 100644 --- a/code_mario/init.py +++ b/code_mario/init.py @@ -26,7 +26,8 @@ rn.seed(12345) # non-reproducible results. # For further details, see: https://stackoverflow.com/questions/42022950/which-seeds-have-to-be-set-where-to-realize-100-reproducibility-of-training-res -session_conf = tf.ConfigProto(intra_op_parallelism_threads=1, inter_op_parallelism_threads=1) +#session_conf = tf.ConfigProto(intra_op_parallelism_threads=1, inter_op_parallelism_threads=1) +session_conf = tf.ConfigProto(intra_op_parallelism_threads=0, inter_op_parallelism_threads=0) from keras import backend as K -- GitLab