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

How to extract kps.pth? #34

Open
digdigdigging opened this issue Jun 11, 2024 · 2 comments
Open

How to extract kps.pth? #34

digdigdigging opened this issue Jun 11, 2024 · 2 comments

Comments

@digdigdigging
Copy link

digdigdigging commented Jun 11, 2024

How to extract kps.pth from image?

@A-2-H
Copy link

A-2-H commented Jun 11, 2024

It's in the "HOW TO USE" - KPS is extracted from video files not from images - it will create file with facial animation information.
Just replace the mp4 file and paths.

python scripts/extract_kps_sequence_and_audio.py \
    --video_path "./test_samples/short_case/AOC/gt.mp4" \
    --kps_sequence_save_path "./test_samples/short_case/AOC/kps.pth" \
    --audio_save_path "./test_samples/short_case/AOC/aud.mp3"

@johndpope
Copy link

close

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

3 participants