automl icon indicating copy to clipboard operation
automl copied to clipboard

Lion optimizer : module 'tensorflow.keras.optimizers' has no attribute 'legacy'

Open zx-lhb opened this issue 1 year ago • 1 comments

hello, I try to use Lion optimizer, but I got the error : module 'tensorflow.keras.optimizers' has no attribute 'legacy'. Then I check the TF2 api doc(v2.11), it does not have legacy. So I think it is not inhirit from the base class as the standard TF2 recommand? Can you tell me how to fix it ?

zx-lhb avatar Feb 22 '23 01:02 zx-lhb