+ 13
Error: AttributeError: module 'tensorflow' has no attribute 'placeholder'
Error: AttributeError: module 'tensorflow' has no attribute 'placeholder' What do I do?
4 Antworten
+ 6
TensorFlow Variables And Placeholders Tutorial With Example
May be this helps:
https://appdividend.com/2019/02/06/tensorflow-variables-and-placeholders-tutorial-with-example/
+ 13
Simon Yu it was working on my desktop, so i am thinking that i have not properly installed tensorflow
+ 1
did you try tf.placeholder () and set input as tf.float32 ?
+ 1
This error may come if you have installed TensorFlow 2.0 and want to run code that is not compatible with TensorFlow 2.0
https://botbark.com/2019/12/18/attributeerror-module-tensorflow-has-no-attribute-placeholder-tensorflow-2-0/