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 can I use the checkpoint of first_order_motion_model with changing the number of segments #22

Open
xupp1989 opened this issue Aug 18, 2020 · 4 comments

Comments

@xupp1989
Copy link

Hello @AliaksandrSiarohin !

I have tried the code using the following command
python part_swap.py --source_image ./final.jpeg --target_video ./crop.mp4 --checkpoint vox-first-order.pth.tar --config ./motion-cosegmentation/config/vox-256-sem-15segments.yaml --supervised --first_order_motion_model --swap_index 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15

image

How can I use the checkpoint of first_order_motion_model with changing the number of segments?

@AliaksandrSiarohin
Copy link
Owner

It is not possible, need retraining.

@xupp1989
Copy link
Author

Is the number of key point num_kp in first_order_motion_model correspond with the the number of segments?

@AliaksandrSiarohin
Copy link
Owner

Yes

@xupp1989
Copy link
Author

Thanks for the answer, makes sense now

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

2 participants