I typed this:
inputs = tf.placeholder(tf.float32,[None,input_size])
targets = tf.placeholder(tf.float32,[None,output_size])
And it gave me:
module 'tensorflow' has no attribute 'placeholder'
My version is 2.2.0, so is something wrong with the version. Please help.
I solve it by importing TF in this way->>> import tensorflow.compat.v1 as tf
I just realized that we are following the worng course. Acecss to this one: https://365datascience.teachable.com/courses/614390/lectures/10998636 which is “Deep Learning with TensorFlow 2.0”
Thanks for reaching out!
Which version of TF are you running? You can check that by writing:
The 365 Team