/Users/jerryqi/PycharmProjects/DeepLearning/venv/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])

tensorflow运行一个很简单的脚本, 抛出了如上十多条警告, 虽然结果正常输出了, 但是看着警告也不爽, 网上查了一下是因为numpy的版本问题:

把numpy的版本更新到1.16.4就好了.

网上的参考链接:

https://blog.csdn.net/weixin_42081389/article/details/98185411

https://github.com/tensorflow/tensorflow/issues/30427

https://github.com/tensorflow/tensorflow/issues/31249

相关文章:

  • 2021-07-21
  • 2021-07-08
  • 2021-09-28
  • 2021-09-12
猜你喜欢
  • 2022-01-06
  • 2022-01-10
  • 2021-12-30
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案