解决python调用TensorFlow时出现FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is ....问题
解决python调用TensorFlow时出现FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecate问题
我使用的是tensorflow1.x版本,做了一些简单的深度学习测试,但是在我使用pycharm运行代码的时候,总是会报出如下图的代码警告:
我尝试过使用如下命令, 或者修改numpy的版本(尝试和多种numpy版本,均不行):
import os
os.environ['TF_CPP_MIN_LOG
原创
2021-11-26 20:57:25 ·
1683 阅读 ·
1 评论