FootAndBall
FootAndBall copied to clipboard
np.float is deprecated
np.float was a deprecated alias for the builtin
float. To avoid this error in existing code, usefloatby 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)
