keras-contrib
keras-contrib copied to clipboard
LARS optimization
I try to create an object from the LARS optimizer, but I got the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bmn4_bejani/keras-contrib/keras_contrib/optimizers/lars.py", line 46, in __init__
self.lr = K.variable(lr, name='lr')
AttributeError: can't set attribute
My config: Tensorflow: 2.1 keras: 2.3.1 CUDA: 10.1 cuDnn 7.5