当引入import tensorflow as tf 时,会出现这个警告: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
解决的办法:先把numpy更新,再把h5py更新。
更新命令:pip install --upgrade numpy
pip install --upgrade h5py
本文介绍了一个常见的TensorFlow警告,该警告涉及numpy和h5py的版本兼容性问题。文章提供了具体的解决方案,即更新numpy和h5py的方法。

7968

被折叠的 条评论
为什么被折叠?



