BYTETracker Error(AttributeError: module 'numpy' has no attribute 'float')

i’m getting this error why running BYTETracker in Google Collab.

AttributeError: module ‘numpy’ has no attribute ‘float’.
np.float was a deprecated alias for the builtin float. 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.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
NumPy 1.20.0 Release Notes — NumPy v2.1.dev0 Manual

Help me please… :frowning:

solve the problem by downgrading the numpy to 1.22.4

Awesome! Thank you for sharing your solution!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.