FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated

tensorflow运行报错 FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated

  • 报错原因:numpy1-17-0版本过高,使用numpy-1.16-0版本即可

  • 解决:卸载高版本numpy 安装低版本 numpy

pip install numpy==1.16.0

发布了56 篇原创文章 · 获赞 42 · 访问量 43万+

Related Posts