not compatable with tf 1.8 , AttributeError: 'RAdamOptimizer' object has no attribute '_call_if_callable'
zxzxzxygithub opened this issue · 6 comments
Describe the Bug
when import tf 1.8,the console gives the error log below:
AttributeError: 'RAdamOptimizer' object has no attribute '_call_if_callable'
Version Info
- I'm using the latest version
😹 I'm not going to support old versions of TensorFlow.
You can try to remove these _call_if_callable
in the _prepare
function if you insist on using it with tf 1.8
.
if I use way of keras,then it won't has the problem ,right?
or if it is the same
lr = self._call_if_callable(self._lr)
with
lr = self._lr
?
or if it is the same
lr = self._call_if_callable(self._lr)
with
lr = self._lr
?
I think it's the same.
Does it support TF 1.14? I don't get any error but the accuracy is not updating. (replaced tf.train.MomentumOptimizer with RAdamOptimizer)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.