Fixed an import error of to_categorical() from tensorflow.keras.utils… by rogerisaksson · Pull Request #1226 · aimacode/aima-python · GitHub
Santiago on Twitter: "We can't forget to reshape and normalize the image as we did before with the entire train set. I'm doing it this time for the image I use to
![tensorflow - ImportError: cannot import name 'to_categorical' from 'keras. utils' (/usr/local/lib/python3.7/dist-packages/keras/utils/__init__.py) - Stack Overflow tensorflow - ImportError: cannot import name 'to_categorical' from 'keras. utils' (/usr/local/lib/python3.7/dist-packages/keras/utils/__init__.py) - Stack Overflow](https://i.stack.imgur.com/LHsm9.png)