赞
踩
DeprecationWarning: np.float
is a deprecated alias for the builtin float
. To silence this warning, use float
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64
here.
把错误那行代码里面的np.float(…) 改成np.float64(…)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。