Problems with pointnet for custom Dataset #4208
Unanswered
WizKhalista
asked this question in
Q&A
Replies: 1 comment 4 replies
-
This is interesting. Thanks for sharing. One issue of PointNet is that it cannot really generalize across rotations, which might explain the issues you are encountering as well. The |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
so i was trying to get a Point cloud segmentation Task working. For that i used the provided pointnet segmentation model from the examples: https://github.com/pyg-team/pytorch_geometric/blob/master/examples/pointnet2_segmentation.py.


Training on the Shapenet Dataset worked perfectly fine. After that i wanted to train it for a custom Dataset.
First i got some Pointcloud files of a Screw and annotated it for two labels:
Class 1: The basic screw (Screw)
Class 2: A specific area, where a screw can ge gripped by a roboter for example. (Gripping area)
It looked like this
I followed the procedure of creating a custom Dataset from this link: https://pytorch-geometric.readthedocs.io/en/latest/notes/create_dataset.html
For a first proof of Concept i added 20 annotated Point clouds of the screw viewed from different angles. I trained the Segmentation model for the two classes and visualized the outcome on the Files of the training Dataset. Sadly the prediction predictet every point to be the same class, like this:
So there was no segmentation into Screw/Gripping area.
I came to the idea, that the Net is predicting every point to be Class 1 since there are much more points of that Class in the Dataset. I tried out tuning on many parameters, also Weighting in the Loss function, but nothing really works.
If anyone got experience with training the Net for his own Datasets any help would be greatly appreciated.
Thank you in advance!
Best regards
Marcel
Beta Was this translation helpful? Give feedback.
All reactions