CyberZHG/keras-radam

ModuleNotFoundError: No module named 'keras.legacy'

ashishpatel26 opened this issue · 1 comments

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-25-4849a56a6cd9> in <module>()
      1 get_ipython().system('pip install keras-adamw')
----> 2 from keras_adamw import AdamW

1 frames
/usr/local/lib/python3.6/dist-packages/keras_adamw/optimizers.py in <module>()
      1 import numpy as np
      2 from keras import backend as K
----> 3 from keras.legacy import interfaces
      4 from keras.optimizers import Optimizer
      5 from .utils import _init_weight_decays, _apply_weight_decays, _check_args

ModuleNotFoundError: No module named 'keras.legacy'

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

stale commented

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.