You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
Converting frames with a pretrained model should results in output frames with faces swapped (or at least modified depending on the quality of the trained network) for all frames where a face was detected.
Actual behavior
I have a pretrained H128 model. I have some new images from a video and extract them first. Around half of the frames have a face detected, which is ok. When trying to convert the frames, the output frames do not have the face swapped. The face region in the output frame looks completely untouched.
Steps to reproduce
Pretrained H128 model available.
I downloaded a youtube video: youtube-dl https://www.youtube.com/watch?v=g8nkbusv5sY
Ok, the issue was that the model actually did not exist in the specified directory.
The reason why I did not notice it is that the converter says 'Loading model...' without any error message. @iperov maybe you can add a check if the model actually exists?
Expected behavior
Converting frames with a pretrained model should results in output frames with faces swapped (or at least modified depending on the quality of the trained network) for all frames where a face was detected.
Actual behavior
I have a pretrained H128 model. I have some new images from a video and extract them first. Around half of the frames have a face detected, which is ok. When trying to convert the frames, the output frames do not have the face swapped. The face region in the output frame looks completely untouched.
Steps to reproduce
youtube-dl https://www.youtube.com/watch?v=g8nkbusv5sY
ffmpeg -i input.mkv frame_%06d.jpg
python main.py extract --input-dir /mnt/in --output-dir /mnt/in/aligned --detector mt
python main.py convert --model-dir models --model H128 --input-dir /mnt/in --output-dir /mnt/out --mode seamless --aligned-dir /mnt/in/aligned
Other relevant information
System: Ubuntu 16.04, requirements installed as described in Linux.md
The text was updated successfully, but these errors were encountered: