项目场景:
复现PIFuHD
GitHub:https://github.com/facebookresearch/pifuhd
问题描述:
1.OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling
各论坛的解决方案都不起作用,最后是换了台服务器解决,从cuda11.0到cuda10.1,对应的torch和torchvision版本也降低。
2.from pytorch3d import _C -- undefined symbol
类似的描述:https://github.com/facebookresearch/pytorch3d/issues/495
torch>=1.7.0和pytorch3d有不兼容的问题,用低版本的就行。
pip install torch==1.6.0 torchvision==0.7.0 pytorch3d==0.2.5
3.OpenCV: FFMPEG: tag 0x5634504d/‘MP4V‘ is not supported with codec id 12 and format ‘mp4 / MP4 (MP
解决:https://blog.csdn.net/weixin_40671425/article/details/109035231