【发布时间】:2019-08-27 07:36:02
【问题描述】:
我已经安装了 TensorFlow(通过在 Conda 上创建一个环境,然后使用本教程视频 (https://www.youtube.com/watch?v=ujTCoH21GlA&list=PLzMcBGfZo4-mP7qA9cagf68V06sko5otr&index=1) 在其上安装张量流)
但是当我运行简单的代码时:
import tensorflow
它会返回很多这样的警告:
C:\Users\safa\Anaconda3\envs\tensor\lib\site-packages\tensorboard\compat\tensorflow_stub\dtypes.py:550: 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_resource = np.dtype([("resource", np.ubyte, 1)])
但是,该过程以退出代码 0 结束。这些警告有什么用?
【问题讨论】:
标签: python python-3.x tensorflow anaconda