JonathonLuiten / TrackEval

HOTA (and other) evaluation metrics for Multi-Object Tracking (MOT).
MIT License
976 stars 243 forks source link

AttributeError: module 'numpy' has no attribute 'float' #114

Open mikel-brostrom opened 1 year ago

mikel-brostrom commented 1 year ago

In newer numpy versions np.float is deprecated. I suggest you change all these:

https://github.com/JonathonLuiten/TrackEval/search?q=np.float&type=code

For: np.float64

piotlinski commented 1 year ago

In newer numpy versions np.float is deprecated. I suggest you change all these:

https://github.com/JonathonLuiten/TrackEval/search?q=np.float&type=code

For: np.float64

I submitted a PR which replaces all aliases with builtin types: https://github.com/JonathonLuiten/TrackEval/pull/117