0
Error in importing keras.optimizers.schedules
ImportError Traceback (most recent call last) in ----> 1 from keras.optimizers import schedules ImportError: cannot import name 'schedules' from 'keras.optimizers' (C:\Users\hp\Roaming\anaconda3-64bit\lib\site-packages\keras\optimizers.py) I have tensorflow version 1.13.1 and keras version 2.3.1 and conda version 4.6.14
2 Antworten
+ 1
Punyasloka Sahoo Hmm... Are you sure that tf v.1 has it? Perhaps you need to upgrade tf? Or try importing from tf.keras.optimizers?
0
Upgrading it v2.2 did help