tensorflow提示FutureWarning

2019-08-05  本文已影响0人  Williamongh

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的版本,我的是17最新的版本 需要降级: pip install numpy<1.17

问题解决~~~~

上一篇 下一篇

猜你喜欢

热点阅读