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

PointNetSetAbstraction question #264

Open
Lemon2048 opened this issue May 27, 2024 · 1 comment
Open

PointNetSetAbstraction question #264

Lemon2048 opened this issue May 27, 2024 · 1 comment

Comments

@Lemon2048
Copy link

Hello, I made a small modification in the class PointNetSetAbstraction(nn.Module) by adding 1 to the variable in_channel. After making this change, I encountered an issue in the subsequent code:

python
for i, conv in enumerate(self.mlp_convs):
bn = self.mlp_bns[i]
new_points = F.relu(bn(conv(new_points)))

After executing this code, all the values in new_points turn into NaN. I would like to inquire about what might have gone wrong. Thank you.

@abysee
Copy link

abysee commented Jun 10, 2024

It is likly that there's a line before calling PointNetSetAbstraction that it sets defalt input channel to 6 or 3. Like in_channel = 6 if normal_channel else 3. You may have to modify the corresponding line.

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