GeneFacePlusPlus icon indicating copy to clipboard operation
GeneFacePlusPlus copied to clipboard

当执行 fit_3dmm_landmark.py 时,每次都是进行到52%就失败了,换了素材同样是52%失败?请好心人解答下

Open yueool opened this issue 1 year ago • 2 comments

1

我的环境是这样的: win10 python39 torch==2.0.1 cuda117 pytorch3d==0.7.5

每次都是进行到 52% 报错:Fail to allocate bitmapto data/processed/videos/x6/debug_fit_3dmm.mp4

yueool avatar Apr 08 '24 18:04 yueool

是不是爆显存或者内存了?

shadowlinyf avatar Apr 09 '24 02:04 shadowlinyf

自己解决了,编辑文件: 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

yueool avatar Apr 09 '24 17:04 yueool