cocoapi
cocoapi copied to clipboard
AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float.
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