본문 바로가기

개발/이게 왜 안돼?

[2021년 10월][tensorflow][keras] ModuleNotFoundError: No module named 'keras.api'

from keras.models import Sequential 를 아래와 같이 바꾸면 된다.

from tensorflow.keras.models import Sequential