cocoapi icon indicating copy to clipboard operation
cocoapi copied to clipboard

AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float.

Open mariaapostigo opened this issue 1 year ago • 0 comments

https://github.com/gautamchitnis/cocoapi/blob/47b200014d8d6d340a1084b37b11f9e1df66269c/PythonAPI/pycocotools/cocoeval.py#L379

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. si el fichero no es mío

mariaapostigo avatar Sep 26 '24 14:09 mariaapostigo