Research (연구 관련)

osmesa, pyrender, torch training bug

홍돌 2021. 8. 13. 13:12

Update 2021.12.27

torch로 train할 때 segmentation fault (core dump) 버그가 뜨는데, osmesa import할 때만 떴음. 원인은 아직 불명.


Update 2021.08.16

the problem was osmesa. egl has no problem

os.environ['PYOPENGL_PLATFORM'] = 'egl'

but normally osmesa has no bugs... what should I do


python debugger sometimes gives segmentation fault.

Most of cases seem to be related to dependencies between python libraries.

In my case, it was related to pyrender and trimesh. I'm not sure what is the reason. The import order may be a problem or the version may be the problem since I didn't have this problem before.

To be updated.