Skip to content

Conversation

@UditKaushish
Copy link

while running this line "from deepstack.ensemble import DirichletEnsemble" error is cannot import name 'to_categorical' from 'keras.utils' (/usr/local/lib/python3.7/dist-packages/keras/utils/init.py) if we use "from tensorflow.keras.utils import to_categorical" in place of "from keras.utils import to_categorical" then this error will be resolved.

while running this line "from deepstack.ensemble import DirichletEnsemble" error is cannot import name 'to_categorical' from 'keras.utils' (/usr/local/lib/python3.7/dist-packages/keras/utils/__init__.py) if we use "from tensorflow.keras.utils import to_categorical" in place of "from keras.utils import to_categorical" then this error will be resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant