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 can i train xyz points without normal? #12

Open
azizanajeeb opened this issue Jan 29, 2021 · 6 comments
Open

how can i train xyz points without normal? #12

azizanajeeb opened this issue Jan 29, 2021 · 6 comments

Comments

@azizanajeeb
Copy link

when i train my dataset without normal i get and error:
RuntimeError: Given groups=1, weight of size 64 6 1 1, expected input[32, 3, 32, 512] to have 6 channels, but got 3 channels instead
is there a way i could resolve this?

@geyang
Copy link

geyang commented May 29, 2021

Take a look at the source.

@DylanWusee there is a bug in the released code. Signature of the classifier is wrong.

@chenyanjie519
Copy link

我也遇到了这个问题,请问您解决了吗

@chenyanjie519
Copy link

Where can I see the source ?

@heexu976
Copy link

heexu976 commented May 7, 2022

I have the same problem

@294coder
Copy link

294coder commented May 7, 2022 via email

@dhliubj
Copy link

dhliubj commented Jun 27, 2022

I encountered the same problem, reference (https://github.com/yanx27/Pointnet_Pointnet2_pytorch/) to the corresponding code to make the following changes, you can solve the problem of this channel.

Modify line 16 of the model/pointconv.py file:
self.sa1 = PointConvDensitySetAbstraction(npoint=512, nsample=32, in_channel=feature_dim+3, mlp=[64, 64, 128], bandwidth = 0.1, group_all=False)

Modify in_channel=feature_dim+3 to in_channel=feature_dim. Then you can successfully process the data without normal vector.

@heexu976 @azizanajeeb @chenyanjie519

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

6 participants