manopth icon indicating copy to clipboard operation
manopth copied to clipboard

Segmentation fault (core dumped)

Open Vegetebird opened this issue 6 years ago • 2 comments

When I run the “manopth_mindemo.py”, I get the "Segmentation fault (core dumped)" on Ubuntu. But is OK on my macOs, how can I solve this problem?

Vegetebird avatar Sep 23 '19 06:09 Vegetebird

Hi @Vegetabbird,

A first step to debugging your issue would be to find the exact line that causes the segmentation fault, determine if it is indeed calling the ManoLayer that creates it. Also, you should check if you are able to run PyTorch code in your virtual environment (not mano, just for instance creating a tensor and putting it on the GPU, to make sure that your install is properly working).

Best,

Yana

hassony2 avatar Sep 23 '19 09:09 hassony2

Hi @hassony2 , thanks for answering. It's OK to run PyTorch code in my virtual environment. I find the exact line is “hand_verts, hand_joints = mano_layer(random_pose, random_shape)” that causes the segmentation fault.

Vegetebird avatar Sep 23 '19 09:09 Vegetebird