这是tensorflow安装中的一个错误,还是可以运行带有以下错误的代码?

这是tensorflow安装中的一个错误,还是可以运行带有以下错误的代码?,tensorflow,Tensorflow,我已经安装了tensorflow和CUDA,但由于某些原因,我不得不将它们降级。我尽了最大努力进行安装,但得到了以下输出: >>> import tensorflow /home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a

我已经安装了tensorflow和CUDA,但由于某些原因,我不得不将它们降级。我尽了最大努力进行安装,但得到了以下输出:

>>> import tensorflow
/home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:523: 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)])
/home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:524: 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)])
/home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: 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_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: 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_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:527: 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_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/hrushikesh/.virtualenvs/mytraya/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:532: 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)])
>>> import tensorflow
>>> import tensorflow
如果这不是一个错误,有什么方法可以防止它,我试过了
os.environ['TF\u CPP\u MIN\u LOG\u LEVEL']=“3”但不起作用。

此警告不应该是问题。看起来,在您正在使用的版本中,有些代码被弃用,这意味着它不再是在库的一部分中使用它的首选方式,并且库的其他部分还没有全部更新。此警告不应影响您的培训