-
Notifications
You must be signed in to change notification settings - Fork 320
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
Code crashing under certain examples #40
Comments
Hi @ismaelGomez87 , What is the resolution (how many edges) are in your meshes? The issue is that the network is running out of edges to collapse, notice the error message:
You should modify the pooling resolution to fit the size of your input meshes. I assume you are working with the configuration file from the human_seg , so notice that the pooling res flag ends at 600 edges: MeshCNN/scripts/human_seg/train.sh Line 11 in f49f780
you should increase it for your meshes. depending on how large they are, you should be able to pool to 30% or 40% of the input mesh resolution. |
Hi @ranahanocka , thanks for your answer. My meshes have 480 edges each. I could augment the resolution but not reduce it. I defined my --pool_res argument accordingly:
With these values I get the error. If I understand your comment correctly, I shouldn't reduce the minimum resolution of pooling below 30-40% of my initial number of edges (which would let me with around 150 edges). Would this be the error? Edit: I'd like to get a lower resolution intermediate layer, that's why I'm reducing it so much. Is there a possible workaround for this (in case the error is caused by the small number of edges)? |
I had the same problem in classification, but you can check the boundary of each model in your dataset and then choose the best last pool_res according to the boundary in the dataset, or you can attend each model with pool_res exceded as a particular case. |
Hi @ismaelGomez87 ,
That is rather aggressive pooling. You can probably get to
yes.
We perform a clean edges when encountering "bad" (valence 3) vertices. The issue is that these "valence 3" vertices cause many edges to be unable to be collapsed. See this illustration, on the left is a valid edge collapse, on the right is a collapse which results in a non-manifold geometry: |
@ranahanocka I think I run into a similar issue. I have an own dataset, I want to analyze. I already used your blender script to simplify the face numbers. I used 600 as target number of faces. To make the code work then, I had to set I also tried different combinations for
|
Update: Unfortunately now I run into #46. |
After working around #46 setting |
Works now for me, I have used problematic input data before. |
Works for me now, I have used problematic input data before. |
I had the same problem with the test. I have two test models with same faces. One test can get results, and the other can't!And I checked the model through meshLab, check Render>show non-manifold edges and also Render>show non-manifold vertices, Do you have any suggestions for this situation?
|
Hi Rana,
first of all, thanks for this contribution. It really looks promising!
I am working with your code in order to analyze a set of meshes formed by molecular shapes. The objects I work with are all genus 0 manifolds (i.e. no holes). I am running your code with segmentation options (although I don't really have any segments defined).
I could run the code with some dummy examples. But, when I try to extend it to a more general set, I run into the following error:
Adding some marks within your code, I could identify that his happens in cases where there are -1's in the gemm-edges structure, but I don't understand why is this. My surfaces are all (allegedly) closed, so no boundary edges exist.
Do you have any idea of why this is happening?
Thanks in advance,
Ismael.
The text was updated successfully, but these errors were encountered: