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) is displayed when running the instructions related to Candidate Poses Generation and Motion Generation. #22

Open
MorningstarKuKu opened this issue Dec 21, 2023 · 2 comments

Comments

@MorningstarKuKu
Copy link

Input

python main.py --conf confs/motion_ablation/interpolation/argue.conf

Shows:

2023-12-21 12:04:54.293 | INFO | human_body_prior.tools.model_loader:load_model:97 - Loaded model in eval mode with trained weights: data/vposer/snapshots/V02_05_epoch=08_val_loss=0.03.ckpt
Segmentation fault (core dumped)

After running gdb corefile core.25917,shows:

Core was generated by `python main.py --conf confs/pose_ablation/vposer_codebook/run.conf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f1005e5c82e in ?? (a)
[Current thread is 1 (LWP 25917)].

After that, the bt command is invoked in gdb to display the following information:

(gdb) bt
#0 0x00007f1005e5c82e in ?? ()
#1 0x00007f11a76219dd in ?? ()
#2 0x0000000000000007 in ?? ()
#3 0x00007ffdd010f150 in ?? ()
#4 0x00007ffdd010f100 in ?? ()
#5 0x00007f11a7621067 in ?? ()
#6 0x0000000000000008 in ?? ()
#7 0x00007f11a7620cec in ?? ()
#8 0x0000000000000000 in ?? ()

Try the solutions in issues but it didn't work

Trying to set :
os.environ['PYOPENGL_PLATFORM'] = 'egl'
in file: anaconda3/envs/AvatarCLIP/lib/python3.7/site-packages/pyrender/renderer.py line 10, but it didn't work

@Daffodily
Copy link

I meet the same question, have you solved it?

@MorningstarKuKu
Copy link
Author

I meet the same question, have you solved it?
You can try using os.environ['PYOPENGL_PLATFORM'] = 'egl' instead of os.environ['PYOPENGL_PLATFORM'] = 'osmesa' in visualize.

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

2 participants