当前位置:   article > 正文

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

passing (type, 1) or '1type' as a synonym of type is deprecated; in a future

使用TensorFlow时报错FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy.......

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

解决方法:重新安装numpy-1.16-0

pip install numpy==1.16.0

 

                    欢迎关注我的微信公众号免费获取海量python视频教程,定期更新电子图书资源

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/311573
推荐阅读
相关标签
  

闽ICP备14008679号