Skip to content
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

Segmentation fault (core dumped) when rendering #13

Open
AKAlilghost opened this issue Jul 23, 2020 · 4 comments
Open

Segmentation fault (core dumped) when rendering #13

AKAlilghost opened this issue Jul 23, 2020 · 4 comments

Comments

@AKAlilghost
Copy link

I set up the environment needed for training according to the Readme, but found that there was a core dump problem during rendering. Has anyone encountered this problem?
Thank you!

@elliottwu
Copy link
Owner

Hi!
Take a look at this note: https://github.com/elliottwu/unsup3d#3-install-neural_renderer. Do you have a GCC version below 5?

@AKAlilghost
Copy link
Author

Thank you for your reply.
When I changed to a p40 machine for training, the above problem was solved, but a new problem appeared:
“Error in forward_face_index_map_2: a PTX JIT compilation failed”.

my cuda version: 10.1
pytorch=1.2.0
torchvision=0.4.0
cudatoolkit=9.2

@elliottwu
Copy link
Owner

Intresting! Have you tried to use a matching cuda version (eg 9.2)?

@Brummi
Copy link

Brummi commented Apr 8, 2021

I also ran into the same issue. I first got segmentation faults when installing neural_renderer_pytorch from pip, so I installed it manually. On the machine I compiled it, it worked fine. However, when I switched machines, I got the "Error in forward_face_index_map_2: a PTX JIT compilation failed" error message during training.

In my case, the reason seems to have been a different cpu architecture rather than a CUDA problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants