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

你可能感兴趣的:(Passing,(type,1),or,'1type',as,a,s,tensorflow)