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) #14

Open Creasy66 opened 1 year ago

Creasy66 commented 1 year ago

python main.py --conf confs/motion_ablation/interpolation/argue.conf 2023-02-11 18:15:16.331 | INFO | human_body_prior.tools.model_loader:load_model:97 - Loaded model in eval mode with trained weights: data/vposer/snapshots/V02_05_epoch=13_val_loss=0.03.ckpt Segmentation fault (core dumped)

when i try to generate pose or motion, i got a "Segmentation fault (core dumped)" problem, how can i deal with this? A100-40GB , cuda11.0,pytorch 1.7.1

Creasy66 commented 1 year ago

yeah, I fixed it by setting : os.environ['PYOPENGL_PLATFORM'] = 'egl' in file: anaconda3/envs/AvatarCLIP/lib/python3.7/site-packages/pyrender/renderer.py line 10

1390806607 commented 12 months ago

Has this problem been solved? @Creasy66

Creasy66 commented 12 months ago

Has this problem been solved? @Creasy66

yes, In my case, it is a pyrender problem, but you can check my solution. I fixed it by setting : os.environ['PYOPENGL_PLATFORM'] = 'egl' in file: anaconda3/envs/AvatarCLIP/lib/python3.7/site-packages/pyrender/renderer.py line 10