keras-contrib icon indicating copy to clipboard operation
keras-contrib copied to clipboard

LARS optimization

Open mmbejani opened this issue 5 years ago • 0 comments

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

mmbejani avatar Jan 28 '20 15:01 mmbejani