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

Check numpy version, need to downgrade: pip install numpy <1.17

Guess you like

Origin www.cnblogs.com/peng-lan/p/11423702.html