hongfz16 / AvatarCLIP

[SIGGRAPH 2022 Journal Track] AvatarCLIP: Zero-Shot Text-Driven Generation and Animation of 3D Avatars
https://hongfz16.github.io/projects/AvatarCLIP.html
Other
1.07k stars 93 forks source link

Segmentation fault (core dumped) is displayed when running the instructions related to Candidate Poses Generation and Motion Generation. #22

Open MorningstarKuKu opened 10 months ago

MorningstarKuKu commented 10 months ago

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 commented 8 months ago

I meet the same question, have you solved it?

MorningstarKuKu commented 8 months ago

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.