使用TensorFlow時報錯
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)])的錯誤
報錯原因:numpy1-17-0版本過高,使用numpy-1.16-0版本即可
解決方法:重新安裝numpy-1.16-0
解決方法:
命令提示符中
pip install numpy==1.16.0
或者直接在集成開發工具如Pycharm中直接