ImportError: cannot import name ‘to_categorical’
#keras is now fully integrated into tensorflow, so import like this:
from tensorflow.keras.utils import to_categorical
Source: stackoverflow.com
#keras is now fully integrated into tensorflow, so import like this:
from tensorflow.keras.utils import to_categorical