-
Notifications
You must be signed in to change notification settings - Fork 4
Can't set attribute for learning rate #2
Comments
To add further information, I'm also having this issue, for me, this happens in the Kaggle environment, but on Google colab everything works fine, so I suppose it's something related to the VM environment. |
Thanks Dimitre. I think you are right. It seems to be the issue of the keras.optimizers installed in my local machine. I was trying another custom optimizer needing to initialize the learning rate (lr) inherited from keras/optimizers.py and it turned out having the same error. But when I put the exact same code on colab and it ran fine. To me, it could be due to the keras backend or something wrong with the codes in the keras/optimizer. Any idea how to fix it? |
keras 2.2.4 => lr |
I have tested the updated version and it works fine, thanks @CyberZHG |
Thank you both. @CyberZHG @dimitreOliveira. After I was using the later version and changed the name to learning rate, the code finally worked. Thank you! |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I'm still having this issue on keras 2.3.1. I get AttributeError: can't set attribute. Changing AdaBound lr to learning_rate doesn't work. |
I think this is because the keras backend tensorflow version is not the proper one. Just try TensorFlow 2.0 instead of below and 2.1 |
|
I'm getting this error on Keras 2.4.3. I have tried both lr and learning_rate with no success. is Keras Adam compatible with 2.4.3 |
Hello,
Installed your package and it turned out having issues of setting learning rate. Would you mind taking a look. Thank you!
The text was updated successfully, but these errors were encountered: