Closed LouisEchard closed 6 years ago
On my laptop (Tensorflow CPU), the initialized weight do sometimes give me the right solution. But only from time to time. I am running 1.4.1 CPU on my laptop and 1.7 GPU on my other computer.
One way to bypass this issue, is to only optimize given variables with minimize(var_list), but it's not as nice.
Solved by doing :
weights = {
'1': tf.Variable(sess.run(tf.get_default_graph().get_tensor_by_name("w1:0")), name='w1', trainable=False)
}
If I do :
I get the right results.
If I do :
I get random results. Why is this behavior occuring ?