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

How to get the old Cuboid and CuboidList datastructures to work with Pytorch Cuboids? #183

Open
SM1991CODES opened this issue May 7, 2023 · 1 comment

Comments

@SM1991CODES
Copy link

Hi,
The objective is to have access to convenience methods:

  1. compute_interior_points
  2. box_corners

Previously this was available via the CuboidList and Cuboid objects using the SensorDataLoader. But with the new release, I cannot access these.
I tried casting sweep.cuboids into CuboidList, but it does not work.
Please advice.

image

Best Regards
Sambit

@benjaminrwilson
Copy link
Collaborator

Hi @SM1991CODES,

This is on my todo list to add. A current work-around would be to use this

def vertices_m(self) -> NDArrayFloat:
and then pass the points and cuboid vertices to the interior point computation:
def compute_interior_points_mask(
.

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

2 participants