【疑难杂症】解决-TensorFlow “FutureWarning: Conversion of the”

时间:2022-07-22
本文章向大家介绍【疑难杂症】解决-TensorFlow “FutureWarning: Conversion of the”,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

h5py/init.py:36: 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 1.14与 其他文件发生冲突。 解决方法: tensorflow 1.18 要求numpy版本大于1.13.3 pip install numpy==1.13.3