/Users/jerryqi/PycharmProjects/DeepLearning/venv/lib/python3.7/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)])
tensorflow運行一個很簡單的腳本, 拋出了如上十多條警告, 雖然結果正常輸出了, 但是看着警告也不爽, 網上查了一下是因為numpy的版本問題:
把numpy的版本更新到1.16.4就好了.
網上的參考鏈接:
https://blog.csdn.net/weixin_42081389/article/details/98185411