본문 바로가기
trouble shooting

cannot import name 'CuDNNGRU' from 'keras.layers' (C:\Users\user\anaconda3\envs\py37\lib\site-packages\keras\layers\__init__.py)

by 달죽 2020. 11. 10.
반응형

cannot import name 'CuDNNGRU' from 'keras.layers' (C:\Users\user\anaconda3\envs\py37\lib\site-packages\keras\layers\__init__.py)

 

from keras.layers import CuDNNGRU

 

keras 버전 문제다. 

 

 

from tensorflow.python.keras.layers import GRU

 

로 바꿔주자. 

 

 

반응형

댓글