2/14/2022

cannot import name 'to_categorical' from 'keras.utils' (/Users/leon/DWF/Dev/FindWalli/find_waldo/env_fw/lib/python3.8/site-packages/keras/utils/__init__.py)

 

use this

> from tensorflow.keras.utils import to_categorical

instead of this

> from keras.utils import to_categorical


Thank you.

www.marearts.com