FootAndBall icon indicating copy to clipboard operation
FootAndBall copied to clipboard

np.float is deprecated

Open luc-rap opened this issue 2 years ago • 0 comments

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.

Examples: issia_dataset.py return np.array(boxes, dtype=np.float), np.array(labels, dtype=np.int64) rewrite to return np.array(boxes, dtype=float), np.array(labels, dtype=np.int64)

np_float_deprecated

luc-rap avatar Mar 12 '23 11:03 luc-rap