Closed Carlyx closed 2 years ago
1/ You don't have to crop the face strictly. You can just make the source and driving similar. For example, they contain the same proportion of body parts in the image.
2/ The length of "bboxes" is 0. You should check that.
1/ Got it~
2/ The IndexError is about https://github.com/harlanhong/CVPR2022-DaGAN/blob/78b22edcdbb4192b81c5adf343f980b42cddfe5d/crop-video.py#L33
With -1, boxA is [ 62 45 211] and boxB is [ 62 45 211]. W/o -1, boxA is [ 62 45 211 194] and boxB is[ 62 45 211 194].
Could you upload the video here? Or you can debug it step by step. You can also try again with an another video.
Could you upload the video here? Or you can debug it step by step. You can also try again with an another video.
I tried three different videos, and got the same error.
https://drive.google.com/file/d/1pUPKxaZYcW2dsS92YJXF2bOGkqpRDqoP/view?usp=share_link (Failed to upload videos here)
Hi @Carlyx ,
I ran successfully on my side. That may be caused by your environment. You can check whether your installed ffmpeg is correct.
Hi @Carlyx ,
I ran successfully on my side. That may be caused by your environment. You can check whether your installed ffmpeg is correct.
Ok. Thanks for your help~ I will check it. Again, awesome work!
Your work is amazing!
But I have two questions: