Skip to content

TypeError: '>' not supported between instances of 'Tensor' and 'numpy.float32' in_range_flags = ((self.tensor[:, 0] > box_range[0]) #30

Open

Description

@guiyuliu

errors about mmdet3d

File "/opt/conda/lib/python3.8/site-packages/mmdet3d-0.18.1-py3.8-linux-x86_64.egg/mmdet3d/core/bbox/structures/lidar_box3d.py", line 218, in in_range_bev
in_range_flags = ((self.tensor[:, 0] > box_range[0])
TypeError: '>' not supported between instances of 'Tensor' and 'numpy.float32'

Activity

  1. guiyuliu commented on Mar 1, 2024

    @guiyuliu
    Author

    这貌似是库版本的问题?请问如何解决?

  2. lilinsiman commented on Mar 14, 2025

    @lilinsiman

    问题解决了吗

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