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

Deformed outputs #20

Open
amil-rp-work opened this issue Aug 9, 2020 · 3 comments
Open

Deformed outputs #20

amil-rp-work opened this issue Aug 9, 2020 · 3 comments

Comments

@amil-rp-work
Copy link

Hello @AliaksandrSiarohin !
Thanks for sharing such an awesome work.

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

However, I am getting deformed outputs. I have attached the input video - crop.mp4. This is obtained by using crop-video.py from one of your other repos. I have also attached 4 sample images used on the same video and their 4 deformed results. I made sure that crop.mp4 & test*.jpg are all of 256x256 resolution.
face_swap_4_examples.zip


Can you please help me with this ?

@AliaksandrSiarohin
Copy link
Owner

I guess you should crop also the source images.

@amil-rp-work
Copy link
Author

Okay so just the face part should be cropped and provided, right?
Since it's cropped the resolution won't be 256x256. What are your suggestions, then?

@AliaksandrSiarohin
Copy link
Owner

Resize to 256x256

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