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

 

posted @ 2019-03-14 23:10  CV技术指南(公众号)  阅读(627)  评论(0编辑  收藏  举报