-
Notifications
You must be signed in to change notification settings - Fork 34
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
Guidelines for handling unlabeled points #96
Comments
are you solving instance or semantic segmentation? for semantic segmentation you simply should not calculate loss for unlabeled points. for instance segmentation unlabeled points are also not a problem, as for example on scannet we consider walls and floors unlabeled for instance segmentation |
I am solving instance segmentation. |
Yes I think if your valid classes are 0, ... n_classes - 1, than given a n_classes label for a superpoint will result in ignoring it in instance segmentation. |
I am following the s3dis template configuration, and i get errors when using a smaller num_instance_classes than the num_semantic_classes. |
For anyone interested, I found a solution to my problem. When using the S3Dis configuration, the PointInstClassMapping_ only takes as argument the num_instance_classes. So also -1 values are assigned to the max label, which makes torch one_hot function not working as expected ! |
Hi,
![image](https://private-user-images.githubusercontent.com/128476349/390053340-76ce154e-e3c1-462b-b17e-40b0b6858b60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NjQ4MDcsIm5iZiI6MTczODg2NDUwNywicGF0aCI6Ii8xMjg0NzYzNDkvMzkwMDUzMzQwLTc2Y2UxNTRlLWUzYzEtNDYyYi1iMTdlLTQwYjBiNjg1OGI2MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwNlQxNzU1MDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YjhkOWVkNWIyYjNiMWFkMDcxOWQyZTcyOTljZTUxMTdiZDdlZjQ1MDU1ZjJiMjM4ZTdjYzc2Mjg0MjhjMDA2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.E7k9jKyBTNdfvXNu2BZZXrOLn1_bN-IbtfTwwahRxjg)
I first want to thank you for your amazing model, which we already successfully applied in CAD piece segmentation to retrieve the recto, verso and deburring of sheets metal. Here is some result of the segmentation of a single file.
Now we want to extend to other morphologies, such as detecting the holes in the pieces. However, we do not know how to handle gracefully the unlabeled data points for such point clouds.
We first added a class called unlabeled, but the results are not satisfying... Do you recommend anything ? Be aware that most of our points are actually unlabeled so discarding them from the training would be really interesting.
Thanks for any help !
The text was updated successfully, but these errors were encountered: