报错内容:
/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'.
原因:
tensorflow的版本是1.14,numpy版本过高,不匹配
解决:
卸载原来的numpy:pip uninstall numpy
重新安装numpy:pip install numpy==1.16.0 -i https://pypi.tuna.tsinghua.edu.cn/simple