Closed UdonDa closed 1 month ago
这怎么解决啊.每次一个epoch跑完就报No faces were detected.的错误
@Akatukiaoki Can you use English? I'm not Chinese. Are you repeating the same question over and over in my issue? I think that your error is happening because you failed to generate the correct faces at the evaluation stage, probably because the training has a problem as in my case.
@UdonDa This problem seems very common. I found a solution on other forums and it can now run. May I ask what software or code you used during the training?Your chart looks cool. My English is very poor
@Akatukiaoki
I found a solution on other forums and it can now run.
Where? Could you share it with me?
This chart is plotted by Tensorboard. You can see it in run/ngp/events.out.tfevents....
. To visualize it, you run tensorboard --logdir .
@UdonDa I only discovered the problems I encountered myself, and I cannot understand your problem. I don't know why this situation occurred. I am just a beginner in this field
@Akatukiaoki Can you successfully train a model with your private data? If you don't mind, could you please share the video file you are using? There might be something wrong with my video.
@UdonDa You can try using May to retrain and give it a try.I have encountered a problem. There is no ngp.pth file in my folder, and I am wondering how to obtain it
I re-preprocess May
and re-train SyncTalk. As in discussed other issues (#77), the pre-processing using mediapipe
causes the problem of quality degradation, according to my training log.
PSNR should be over 37, but this log has 32.
Anyways, I cannot understand why the training with my private video
failed while the training with May
was successful.
@Akatukiaoki You should see <result_dir>/checkpoints
. It is just a weight file.
This is my folder, he doesn't have ngp.pth
Please try to rename
Bad results here too, what is best practice for data prep?
https://github.com/ZiqiaoPeng/SyncTalk/assets/114336644/bc84ce97-ceac-4e6d-97a6-c9bb793ba02b
I changed to use hubert
and ER-NeRF's pre-processing, i.e. OpenFace
. Training works well, but, lip sync is not enough.
https://github.com/ZiqiaoPeng/SyncTalk/assets/25411643/1eeaf494-caf7-4c8d-8c89-ea83bbe03fd0
@UdonDa Can increasing the number of training sessions increase the stability of the mouth? Yesterday, I trained on the Obama video, 60000 times for the head and 90000 times for the mouth, but the mouth is still blurry and has a slight flicker
For the best practice, good preprocessing. There can be many failure cases. ( I saw some artifact because video failed to make accurate mask) Also good syc of video and audio as original. Fianlly Good blending algorithm Those three are key point for good video generation generally.
@HenryKang1 Thanks advicing! I agree with you, BEST PRE-PROCESSING IS ALL YOU NEED.
good preprocessing
How do you pre-process your private video to crop facial region? I follow the pre-processing of CelebV-HQ's one, which is as same as FirstOrderModel's one. I set increase=0.4.
这怎么解决啊.每次一个epoch跑完就报No faces were detected.的错误
It has been fixed.
@HenryKang1 Thanks advicing! I agree with you, BEST PRE-PROCESSING IS ALL YOU NEED.
good preprocessing
How do you pre-process your private video to crop facial region? I follow the pre-processing of CelebV-HQ's one, which is as same as FirstOrderModel's one. I set increase=0.4.
I do the similar things. I have my own custom module with padding and resizing function. Try to crop the face with entire face, neck and hair or at least include the neck. Also, training short video does not give good result. try to train longer than 1 min video. Finally apply post processing to remove the artifact.
You can try the latest code.
@Akatukiaoki 您好,我也碰到了No faces were detected.的错误,请问您是如何解决的?十分感谢!
https://github.com/ZiqiaoPeng/SyncTalk/assets/173535969/1ef93280-8775-4073-894c-eea3a537af20
@UdonDa I am getting bad results after training for 200k steps total, can you give a link or guide me on how you used ER-NeRF's pre-processing, i.e. OpenFace?
Hi,
I have a problem with unstable training using my private data. According to a plot of training losses, the training seems wrong. I would like to find out what caused that problem. Does anyone successfully train your private data?
Epoch 4
Epoch 16
The training video is below, https://github.com/ZiqiaoPeng/SyncTalk/assets/25411643/c2e10fa5-78be-44b0-a42d-bf697829062d