天天看點

from `float` to `np.floating` is deprecated

運作tensorflow測試程式時,出現:FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.   from ._conv import register_converters as _register_converters

解決辦法:

pip install h5py==2.8.0rc1