Closed ImaneTopo closed 3 months ago
Hi @ImaneTopo
This suggests your edge_index
(ie the graph RadiusHorizontalGraph
is trying to build) has spurious shape (ie probably no edge at all). Based on your initial error that you modified, I guess one of your point clouds is quite small and there is not enough superpoints at a given partition level. If one of the partition levels has only 1 superpoint, problematic downstream effects might occur.
So, investigate the size of your partition levels and make sure there is never only 1 superpoint. To this end you have two options:
pcp_regularization
, pcp_cutoff
, pcp_spatial_weight
). Have a look at the documentation, past issues, and code, for how those work and suggestions on how to adjust thoseIf this error persists even after you have made sure no partition level contains only 1 superpoint, this means some partition level is unable to build any connection between superpoints (ie superpoints are unable to see far enough). To fix this, you must adjust graph_gap
to allow superpoints to be connected to farther neighbors.
PS: If you ❤️ or use this project, don't forget to give it a ⭐, it means a lot to us !
PS2: I will be giving a live tutorial on SPT on Thursday, you might want to attend: https://www.linkedin.com/events/superpointtransformersfor3dpoin7209130538110963712
Hi Mr. Robert, I would like to thank you for your response and explanations. I will try all those options in order to fix these issues.
Best regards,
Le lun. 24 juin 2024 à 08:18, Damien ROBERT @.***> a écrit :
Hi @ImaneTopo https://github.com/ImaneTopo
This suggests your edge_index (ie the graph RadiusHorizontalGraph is trying to build) has spurious shape (ie probably no edge at all). Based on your initial error that you modified, I guess one of your point clouds is quite small and there is not enough superpoints at a given partition level. If one of the partition levels has only 1 superpoint, problematic downstream effects might occur.
So, investigate the size of your partition levels and make sure there is never only 1 superpoint. To this end you have two options:
- adjust the regularization parameters of your partition (eg pcp_regularization, pcp_cutoff, pcp_spatial_weight). Have a look at the documentation, past issues, and code, for how those work and suggestions on how to adjust those
- remove the 3rd partition level altogether if this is the one causing errors, as we do not use it in practice (it seems your initial error was connected to this)
If this error persists even after you have made sure no partition level contains only 1 superpoint, this means some partition level is unable to build any connection between superpoints (ie superpoints are unable to see far enough). To fix this, you must adjust graph_gap to allow superpoints to be connected to farther neighbors.
PS: If you ❤️ or use this project, don't forget to give it a ⭐, it means a lot to us !
PS2: I will be giving a live tutorial on SPT on Thursday, you might want to attend: https://www.linkedin.com/events/superpointtransformersfor3dpoin7209130538110963712
— Reply to this email directly, view it on GitHub https://github.com/drprojects/superpoint_transformer/issues/121#issuecomment-2185785381, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJCV75QQTNLNSI5MPARULQDZI7B4PAVCNFSM6AAAAABJXLKYK2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBVG44DKMZYGE . You are receiving this because you were mentioned.Message ID: @.***>
@drprojects Hi, I want to train the model on my own dataset wish is similar to the format of s3dis, but I face this error :