使用tesnorflow过程中遇到的问题(一)

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

环境:win10,python3.6

原因:numpy和h5py版本不兼容的原因

通过pip list命令查看得知:

numpy的版本为1.14.5 ,h5py的版本为2.7

于是升级h5py:

pip install h5py==2.8.0rc1

问题得到了解决


猜你喜欢

转载自blog.csdn.net/weixin_40662331/article/details/80714685