当我在 Python 中导入 tensorflow 时出现此错误:
C:\Users\Sathsara\Anaconda3\envs\tensorflow\Lib\site-packages\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
请您参考如下方法:
这不是错误,它只是通知您在未来的版本中此功能或行为将发生变化或不再可用。
如果您计划在不同版本的 python 和 tensorflow 中重用此代码,这一点很重要。
