Skip to content

when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy, here is the error 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: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations i tried alot to modify the dtype of float but it didn`t work #422

Open

Description

@AbdelrahmanEssam1
No description provided.

Activity

  1. changed the title [-]when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy[/-] [+]when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy [/+] on Sep 29, 2024
  2. changed the title [-]when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy [/-] [+]when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy, here is the error 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: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations[/+] on Sep 29, 2024
  3. changed the title [-]when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy, here is the error 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: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations[/-] [+]when i use byte_tracker.update to tracking detections in BYTETracking it gives me error with numpy, here is the error 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: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations i tried alot to modify the dtype of float but it didn`t work[/+] on Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions