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

fix: AssertionError features.is_contiguous() in pointnet2_utils.py #437

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

Starrah
Copy link
Contributor

@Starrah Starrah commented Jan 19, 2021

An AssertionError is raised in pointnet2_utils.py.
微信截图_20210120053713
This error may be caused by features in pointnet2_backbone.py:78, which is possible to be a non-contiguous tensor, being directly passed into SA_modules without calling .contiguous().
So my fix is calling features.contiguous() to make sure it is contiguous before passed into SA_modules.
Thank you!

caused by `features` in pointnet2_backbone.py:78, which is possible to be a non-contiguous tensor, being directly passed into SA_modules without calling .contiguous()
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