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

Different number of points #88

Open
Amir-Abi opened this issue Oct 13, 2021 · 3 comments
Open

Different number of points #88

Amir-Abi opened this issue Oct 13, 2021 · 3 comments

Comments

@Amir-Abi
Copy link

Hi, point net was originally trained on a fixed-sized input , and I wonder if there is a efficient way to deal with different numbers of points in a batch. for example, (3, 10) and (3, 11) are my samples, how I should use them in the same batch ??? is there any better way than padding & passing mask that it'd used in NLP ???

@DJNing
Copy link

DJNing commented Oct 28, 2021

I got same question here. But it seems pytorch requires same data shape when stacking into batches

@jasmineytt
Copy link

I got same question, how you solve the problem?

@Med-Amine-saighi
Copy link

I think you should implement a collate function and pass it to the DataLoader so you can get heterogonous batches

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

4 participants