-
Notifications
You must be signed in to change notification settings - Fork 130
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
weird results #2
Comments
The iris detector I used in this project seems not performing well due to its deviated pre-processing from official implementation. Disabling Also, the face alignment is a little bit different from my dev environment, where MTCNN, instead of S3FD+FAN, was used. This has relative small impact on the translation results as far as I can tell. |
@shaoanlu ok, can you please add mtcnn, i think it also reducing flickering/jittering as shown in your other face-swap gan repo. I will try it again by disabling draw_iris() thanks |
@shaoanlu also noticed occlusions cause jitter as well as different skin colors with source and target dont always result in a good swap |
@ak9250 How did you change the resolution and manage to swap faces on a GIF you posted? |
@gstark0 i used the google colab notebook here |
@ak9250 Thanks! That's what I was actually looking for. Great job! |
@ak9250 BTW, any idea why #5 happens to me? |
@gstark0 is that happening in the google colab notebook? Are you able to get a result? |
@ak9250 I'm using Jupyter Notebook installed locally to run it but I guess it shouldn't make a difference. I'm not able to get a result, in fact I'm not even able to load images. |
@gstark0 go to |
@ak9250 Unfortunately I already have the accelerator set to GPU, seems more like something with image dimensions but afaik it should run on any size, right? |
@ak9250 Could you upload sample source and single sample raw image you used for swap? I'm wondering if this will make any difference. |
@gstark0 images I get were various sizes and from youtube videos and gifs as well as google images. Can you share the images you are using to see if i can test what the problem is? Also are the images jpg or png, did you update accordingly? |
@ak9250 I've used these files --> https://filebin.net/l36dca5kb00hh93e <-- They're pretty much first results from Google just to test things and see if it will actually run, I don't care about accuracy for now. Nico as a source and Trump as a target. |
@gstark0 although the result isnt good, I was able to do a test with nicolas cage and donald trump, maybe try another set of images? |
Already tried, still the same ;/ |
@gstark0 are you using youtube-dl to get the video and split it into frames with ffmpeg or some other method? |
@ak9250 No I don’t, for now. I just wanted to run it first and make sure everything works correctly. The images come from the internet, found in Google. Funny thing is - I checked the exact same images on Google colab and it works fine. I guess it may be because of different TensorFlow version or some other library. Will check this tomorrow. |
The unnatural contrast and highlight in the output faces are the intrinsic characteristics of the released model. These artifacts can also be observed in the readme figures. I did not spend much time taking care of the training process and tuning objective functions. Anyway this is the status quo of the performance of the current model. |
@shaoanlu anyway the model can be improved? I am looking into training the model if the training code is released and release the trained model. Also is the training process similar to FUNIT as they do pet swapping instead of faces with good results but it is trained for 2 weeks on 8 v100 gpus with a dataset of about 100k animals |
@shaoanlu So when can we expect the training code to be released? We’d like to experiment more and improve the model :) |
I might not have to time to update the code until mid or late Oct. 😔. |
@shaoanlu ok, any way I can help? |
Have you got better results? |
|
|
The author of FUNIT actually showed results on face identity translation in this video. I've also trained a FUNIT model on VGGFace2 dataset using the official implementation. The figure below is the result after ~90k iters of training. The 1st and 4th rows are real images. |
I have not made any changes other than #4 (comment) |
@shaoanlu great, are you planning to release the training code for this repo or update the pretrained models? |
@shaoanlu When will the code be released? |
i tried these two images but the result was like this
The text was updated successfully, but these errors were encountered: