Skip to content

bug:device error#1039

Open
xiongfang wants to merge 1 commit into
open-mmlab:mainfrom
xiongfang:main
Open

bug:device error#1039
xiongfang wants to merge 1 commit into
open-mmlab:mainfrom
xiongfang:main

Conversation

@xiongfang
Copy link
Copy Markdown

Motivation

bug fix for device error

Modification

points_range = torch.arange(points.shape[0])
--> points_range = torch.arange(points.shape[0],device=points.device)

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. The documentation has been modified accordingly, like docstring or example tutorials.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Successfully merging this pull request may close these issues.

2 participants