keras1 cannot import name 'Adam' from 'keras.optimizers' Tensorflow, keras를 사용할때 갑자기 keras.optimizer를 import할수 없다는 경우 해결법 [문제코드] from keras.optimizers import Adam [해결코드] "from tensorflow.keras.optimizers import Adam"로 바꾸자!! from tensorflow.keras.optimizers import Adam # - Works from tensorflow.keras.optimizers import adam # - Does not work from keras.optimizers import Adam # - Does not work from keras.optimizers import adam # - Does not work [참고] http.. 2021. 9. 6. 이전 1 다음