在更新了我的Numpy
和Tensorflow
之后,我收到了这些警告。我已经试过these,但没什么用,每一个建议都会受到赞赏。
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
2018-01-19 17:11:38.695932: I C:\tf_jenkins\home\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
你可以升级h5py
这可能是您的情况,也可能不是您的情况,但同样的警告也会从
h5py
包中发出:对于任何带着这个问题来这里的人来说,它是一个known h5py issue,由numpy 1.14引入的。如开发人员所述:
。。。所以是无害的。修复程序刚刚merged到master。但在更新发布之前,解决方法是将numpy降级到以前的版本:
使用修复更新RC构建。应使用以下命令:
更新(最终版):现在有一个完整的版本。所以你可以简单地运行:
我试过这些,它也为我解决了同样的问题,只要把这些放在你的代码上面
相关问题 更多 >
编程相关推荐