Skip to content
Advertisement

TensorFlow ‘module’ object has no attribute ‘global_variables_initializer’

I’m new to Tensorflow I’m running a Deep learning Assignment from Udacity on iPython notebook. link

And it has an error.

JavaScript

Please help! How can I fix this? Thank you.

Advertisement

Answer

In older versions, it was called tf.initialize_all_variables.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement