tensorflow提示FutureWarning

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’.

检查一下numpy的版本,需要降级: pip install numpy<1.17

posted @ 2019-08-28 14:07  黒貓  阅读(705)  评论(0编辑  收藏  举报