Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

np.float errors in the trackers #386

Open
thecetin opened this issue Feb 23, 2024 · 6 comments
Open

np.float errors in the trackers #386

thecetin opened this issue Feb 23, 2024 · 6 comments

Comments

@thecetin
Copy link

thecetin commented Feb 23, 2024

Hello, im using trackers algorithm in "colab". So i always need to install in to "colab" when i work on some projects. So every time i need to edit tracker code and replace all "np.float" to "float". How can this problem solve?

->ByteTrack -> yolox -> tracker -> byte_tracker.py and matching.py

In these two .py files you should change "np.float" to "float"

Thank you for help.

@braiansmarzaro
Copy link

I was about to open this issue. I'm having the same problem.

@LemonJam84
Copy link

I am also having issues here, have you @braiansmarzaro and @thecetin any luck solving the problem?

@braiansmarzaro
Copy link

Hi @LemonJam84.
As far as i can remember, i cloned the repo and changed every np.float to just float and it worked. Good luck with this problem 🫡

@LemonJam84
Copy link

sounds good, thanks @braiansmarzaro

@iurisilvio
Copy link

iurisilvio commented May 5, 2024

The quick fix is limiting numpy version <1.24, but it is a numpy version released in 2022.

There are a few open PRs possibly fixing this error:

And related issues:

@NicDionne
Copy link

@ifzhang This would be very helpful for keeping the library up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@iurisilvio @thecetin @braiansmarzaro @NicDionne @LemonJam84 and others