小编Emi*_*052的帖子

“不赞成使用type的同义词;在numpy的未来版本中,它将被理解为(type,(1,))/'(1,)type'。” TensorFlow中的问题

我安装了TensorFlow 1.10.1,但是当我尝试导入TensorFlow时,它说我需要TensorFlow版本1.10.0。因此,我安装了它,现在收到以下警告:

>>> import tensorflow
C:\Users\PC\Anaconda3\envs\tut\lib\site-packages\tensorflow\python\framework\dtypes.py:516: 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_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\PC\Anaconda3\envs\tut\lib\site-packages\tensorflow\python\framework\dtypes.py:517: 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_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\PC\Anaconda3\envs\tut\lib\site-packages\tensorflow\python\framework\dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' …
Run Code Online (Sandbox Code Playgroud)

python artificial-intelligence numpy python-3.x tensorflow

27
推荐指数
6
解决办法
1万
查看次数