cheind / py-motmetrics

:bar_chart: Benchmark multiple object trackers (MOT) in Python
MIT License
1.36k stars 258 forks source link

Get ride of np.bool deprecation warning. #155

Closed alexlitz closed 1 year ago

alexlitz commented 2 years ago

Missed another DeprecationWarning with the last one.

cheind commented 2 years ago

@alexlitz did you see my code comment about public API concern?

alexlitz commented 2 years ago

@cheind no, I do not see a comment about that.

cheind commented 2 years ago

Here https://github.com/cheind/py-motmetrics/pull/155/files/fc06cd2e66c57250d1322457b59a52232c951ee4

facundo-lezama commented 1 year ago

@cheind @alexlitz Please see issue https://github.com/cheind/py-motmetrics/issues/172, I believe merging this PR is pretty urgent.

cheind commented 1 year ago

@facundo-lezama thanks for pointing this out!

cheind commented 1 year ago

I've found that bool_ is part of the public API here https://numpy.org/doc/stable/user/basics.types.html

So I will merge this to develop.