DeprecationWarning: np.float
is a deprecated alias for the builtin float
.
报错: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.
环境中 librosa==0.7.0
解决方案:将numpy版本下调只1.19.3