首页 > 技术文章 > from `float` to `np.floating` is deprecated

wxkang 2019-03-14 23:10 原文

运行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

 

推荐阅读