You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm just using tensorflow for my first time so I don't know why it happens.
Anyway, when trying your code with a fresh installed tensorflow 0.12.1 I get this error:
TypeError: zeros_initializer() takes at least 1 argument (1 given)
inside the layers.py file.
I fixed the error substituting biases_initializer=tf.zeros_initializer(dtype=tf.float32) with
biases_initializer=tf.zeros_initializer
As suggested by an user here for a similar issue #5742
The text was updated successfully, but these errors were encountered:
I had a similar issue and fixed it by changing tf.zeros_initializer(dtype=tf.float32) to tf.constant_initializer(0.0) as mentioned in tensorflow/tensorflow#6202
Hi,
I'm just using tensorflow for my first time so I don't know why it happens.
Anyway, when trying your code with a fresh installed tensorflow 0.12.1 I get this error:
TypeError: zeros_initializer() takes at least 1 argument (1 given)
inside the layers.py file.
I fixed the error substituting biases_initializer=tf.zeros_initializer(dtype=tf.float32) with
biases_initializer=tf.zeros_initializer
As suggested by an user here for a similar issue #5742
The text was updated successfully, but these errors were encountered: