numpy要求大于1.13.3 当前为1.17.4 Requirement already satisfied:numpy>=1.13.3 in /home/zzn/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.12) (1.17.4)
1.
导入tf警告:
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)])
等等 换版本为1.16.0试试
pip uninstall numpy pip install numpy=1.16.0
不再报警告信息。(当前环境:py36tf12)
2.
from scipy.misc import imread, imresize, imsave ImportError: cannot import name 'imread'