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 do re-enactment with an mp4 video of myself after training? #30

Open
jryebread opened this issue Jun 5, 2024 · 5 comments
Open

Comments

@jryebread
Copy link

jryebread commented Jun 5, 2024

Hi, I'm confused on how to just test one of the existing datasets and get a front-facing re-enactment of one of the nersemble avatars using an MP4 input video of myself, can someone guide me on how to do this?

I already trained and ran one of the examples on the mini dataset, but I don't understand how to use my own driving video for re-enactment

like the instructions say "the trained avatar can be reenacted by a sequence of expression coefficients" what does this mean? how can I input my own mp4 video for reenactment? is there a script to convert an mp4 video into the required input the model needs?

@jryebread
Copy link
Author

@YuelangX

@YuelangX
Copy link
Owner

Hi,@jryebread. I provide a instruction to extract 3DMM expression coefficients from monocular video here(https://github.com/YuelangX/Multiview-3DMM-Fitting). You can refer to it.

@jryebread
Copy link
Author

@YuelangX Hi thank you, I setup all the files for Multiview, but how do i get the params needed for param_files in reenactment.yml?

The reenactment script asserts that len(params) == len(images) but your multiview preprocessor here only outputs images and cameras

so i am confused on how to get params.npz

https://github.com/YuelangX/Multiview-3DMM-Fitting/blob/main/preprocess/preprocess_monocular_video.py

@jryebread
Copy link
Author

it is also needed for pose_code_path

pose_code_path: 'mini_demo_dataset/031/params/0000/params.npz'

@NikoBele1
Copy link

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