Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: module 'numpy' has no attribute 'bool' in Theano #42

Open
BINATHY opened this issue Jul 5, 2024 · 0 comments
Open

Comments

@BINATHY
Copy link

BINATHY commented Jul 5, 2024

I encountered an issue while trying to run below command
"python train.py train_corpus.json validation_corpus.json C:\Users\Downloads\ba-dls-deepspeech-master"
that utilizes Theano, where I received the following error:
AttributeError: module 'numpy' has no attribute 'bool'.
np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

Environment Details:
Operating System:Windows

Please help me in resolving this error

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

No branches or pull requests

1 participant