taxi icon indicating copy to clipboard operation
taxi copied to clipboard

Lots of FutureWarning

Open hma02 opened this issue 8 years ago • 0 comments

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.

hma02 avatar Jan 20 '17 20:01 hma02