You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
I tracked down to find where the
numpy.full
was called and found it indata/transformers.py
I recommend adding
dtype=numpy.float32
to thosenumpy.full
function call to avoid showing them during training.The text was updated successfully, but these errors were encountered: