I have python 3.7.1 and tensorflow 2.0.0
I tried running your code but i get this error AttributeError: module 'tensorflow' has no attribute 'placeholder'
I tried adding
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
But it doesnt work either.
Do you have any other suggestions? Or maybe on which versions of python and tensorflow this code works?
I have python 3.7.1 and tensorflow 2.0.0
I tried running your code but i get this error AttributeError: module 'tensorflow' has no attribute 'placeholder'
I tried adding
But it doesnt work either.
Do you have any other suggestions? Or maybe on which versions of python and tensorflow this code works?