Transfer-Learning-Library icon indicating copy to clipboard operation
Transfer-Learning-Library copied to clipboard

numpy版本更新后np.float弃用

Open KevinCarpricorn opened this issue 1 year ago • 1 comments

AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, 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.

KevinCarpricorn avatar Nov 16 '23 02:11 KevinCarpricorn

I meet this problem, too

didi226 avatar Mar 24 '24 14:03 didi226

Thanks for pointing this out. You can modify it locally.

thucbx99 avatar May 27 '24 05:05 thucbx99