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

Lots of FutureWarning #13

Open
hma02 opened this issue Jan 20, 2017 · 0 comments
Open

Lots of FutureWarning #13

hma02 opened this issue Jan 20, 2017 · 0 comments

Comments

@hma02
Copy link

hma02 commented Jan 20, 2017

When running the train.py code. I got lots of FutureWarning like the following. This might be due to a numpy update from the version this project was based on.

python2.7/site-packages/numpy/core/numeric.py:301: FutureWarning: in the future, full((4,), -8.5676041) will return an array of dtype('float32')

I tracked down to find where the numpy.full was called and found it in data/transformers.py

I recommend adding dtype=numpy.float32 to those numpy.full function call to avoid showing them during training.

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