77148/attributeerror-module-tensorflow-has-no-attribute-log
Hi Guys,
I am trying to use the TensorFlow module in my Mask-RCNN code. But it is showing me the below error.
AttributeError: module 'tensorflow' has no attribute 'log'
How can I solve this error?
Hi@akhtar,
In Tensorflow 2.0, there is no attribute named log. You need to downgrade your TensorFlow if you want to use log attribute in your code. You can create one different environment in anaconda and install TensorFlow 1.x and run your code. It will work.
I hope this will help.
Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE
Hi@akhtar, There was an environment issue, tensorflow was ...READ MORE
Hi@akhtar, In Tensorflow 2.0, there is no placeholder. ...READ MORE
Hi@akhtar, To avoid this error, make sure you ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
def dense_layers(sizes): return tfk.Sequential([tfkl.Dense(size, ...READ MORE
Hi@Usman, It seems you are using an older ...READ MORE
Hi@akhtar, There may be problem in the versions. ...READ MORE
OR
Already have an account? Sign in.