ImportError: cannot import name 'to_categorical' from 'keras.utils' 解決法
原因箇所
from keras.utils import to_categorical
以下に変更
from keras.utils.np_utils import to_categorical
原因箇所
from keras.utils import to_categorical
以下に変更
from keras.utils.np_utils import to_categorical