GeneFacePlusPlus
GeneFacePlusPlus copied to clipboard
当执行 fit_3dmm_landmark.py 时,每次都是进行到52%就失败了,换了素材同样是52%失败?请好心人解答下
我的环境是这样的: win10 python39 torch==2.0.1 cuda117 pytorch3d==0.7.5
每次都是进行到 52% 报错:Fail to allocate bitmapto data/processed/videos/x6/debug_fit_3dmm.mp4
是不是爆显存或者内存了?
自己解决了,编辑文件: Solved it on my own, edit the file: utils/visualization/vis_cam3d/camera_pose_visualizer.py line:13 is self.fig = plt.figure(figsize=(5.12, 5.12)) 在其后增加一行 Add a line after it plt.close('all') 就好了 It's easy to use
顺便提一下,我的版本是这样的: By the way, my version is as follows: matplotlib==3.8.4