facebookresearch / frankmocap

A Strong and Easy-to-use Single View 3D Hand+Body Pose Estimator
Other
2.16k stars 374 forks source link

OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling #213

Closed shidaimingwang closed 1 year ago

shidaimingwang commented 2 years ago

OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling

penincillin commented 2 years ago

This is the openGL issue. If you are running the code on the server without screen, please try to use the headless renderer by setting the flag --renderer_type pytorch3d. An example command is: python -m demo.demo_frankmocap --input_path ./sample_data/single_totalbody.mp4 --out_dir ./mocap_output --renderer_type pytorch3d