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

[BUG] coords batch index should be 0 instead of 3 in bev.py #296

Open
1 task done
ashawkey opened this issue Mar 17, 2024 · 1 comment
Open
1 task done

[BUG] coords batch index should be 0 instead of 3 in bev.py #296

ashawkey opened this issue Mar 17, 2024 · 1 comment

Comments

@ashawkey
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

coords = (coords - self.offset).t()[[3] + self.bev_dims].long()

It seems some modules still use 3 as the batch index instead of 0 in the latest implementation.

Expected Behavior

Modify to coords = (coords - self.offset).t()[[0] + self.bev_dims].long()

Environment

- GCC:
- NVCC:
- PyTorch:
- PyTorch CUDA:
- TorchSparse:

Anything else?

No response

@zhijian-liu
Copy link

Thank you for reporting this issue. Could you please submit a short pull request for this? Thanks!

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