[参考link]
/xxx/lib/python3.6/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)])
/xxx/lib/python3.6/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)])
/xxx/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:
518:
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)])
/xxx/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:
519:
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)])
/xxx/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:
520:
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)])
/xxx/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_resource = np.dtype([("resource", np.ubyte, 1)])
/xxx/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:
541:
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)])
/xxx/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:
542:
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)])
/xxx/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:
543:
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)])
/xxx/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:
544:
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)])
/xxx/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:
545:
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)])
/xxx/lib/python3.6/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)])
报错原因:numpy1-17-0版本过高,使用numpy-1.16-0版本即可
解决方法:重新安装numpy-1.16-0
pip install numpy==1.16.0
网友评论