Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING | stage2_main:138 - ours_pkl_file_path not exists: /home/quannxa/SHOW/test/demo_video1/ours/all.pkl #25

Open
anhquannguyen21 opened this issue Aug 10, 2023 · 3 comments

Comments

@anhquannguyen21
Copy link

I run on another video but it has this issue. How to fix it?

@anhquannguyen21 anhquannguyen21 changed the title WARNING | stage2_main:138 - ours_pkl_file_path not exists: /home/dell/projects/talkingface/SHOW/test/demo_video/ours/all.pkl WARNING | stage2_main:138 - ours_pkl_file_path not exists: /home/quannxa/SHOW/test/demo_video1/ours/all.pkl Aug 10, 2023
@Shotsordsoo
Copy link

Shotsordsoo commented Oct 12, 2023

Got a fix. The problem seems in stage2_main line 274:
if body_kpts_diff_sum < body_kpts_diff_sum_threshold: logger.warning( f'body_kpts_diff_sum: {body_kpts_diff_sum} < {body_kpts_diff_sum_threshold}, skipping' ) SHOW.purge_dir(smplifyx_cfg.ours_images_path) SHOW.purge_dir(smplifyx_cfg.ours_pkl_file_path) SHOW.purge_dir(smplifyx_cfg.final_losses_json_path) SHOW.purge_dir(smplifyx_cfg.output_video_path) SHOW.purge_dir(smplifyx_cfg.w_mica_merge_pkl) SHOW.purge_dir(smplifyx_cfg.mica_all_dir) return False # 执行完毕之后Return,函数跑完,问题可能问题在这。 else: logger.info( f'body_kpts_diff_sum: {body_kpts_diff_sum} > {body_kpts_diff_sum_threshold}' )
The absence of all.pkl( and final_metric.json) is because of body_kpts_diff_sum < body_kpts_diff_sum_threshold so the function just return and the file that's needed in next process are not generated. So to fix this you need to lower the body_kpts_diff_sum_threshold (eg. 0), works for me.

@mookerr
Copy link

mookerr commented Mar 12, 2024

您好,我在自己的视频上运行也出现了这个错误,请问这个问题最后怎么解决呢

@Frankxstt
Copy link

May I ask how this problem was solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants