cannot import name 'np_utils'
Closed this issue · 3 comments
faithful-dragon commented
import keras
from keras.utils import np_utils
can not import even after installing np_utils using pip command in Jupyter notebook
tilakrayal commented
@faithful-dragon,
In the public API, you cannot access np_util (it's internal). You are supposed to access utilities via the utils module, e.g.
from keras import utils
utils.to_categorical(...)
https://stackoverflow.com/questions/45149341/importerror-cannot-import-name-np-utils
Thank you!
faithful-dragon commented
Thank You
google-ml-butler commented