-
Notifications
You must be signed in to change notification settings - Fork 39
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
my modification to reproduce result #16
Comments
Can you please upload the modified codes in your repo ? |
I did it in company, it's not convient to upload code. |
Thank you for the correction, I was busy with other work recently, I'm really sorry. I do not quite understand what you mean about your second question , can you be more specific? |
Same results as yours. The differences are not only you mentioned above, I also found the First work with GAN network,any suggestion will be appreciated. |
I find that index of eye,lips and face is wrong, the correct index is 7,9 lips,1,6,13 face, 4,5 eyes, and this is the scdataset which I rewrite it should be correct, you can refer.
|
I have reproduced this result. |
My reproduced model can't process the eyebrow correctly when one face has a thick eyedrows and the other has a thin one. |
Thank you for pointing out these two problems.I found another problem that may cause the model to perform poorly.In scdataset.py, line 125
You better uncomment this line,and delete a few pictures from nonmakeup(no eyes) |
Thank you very much!! |
|
I found there are two problems in this code.
First, the vgg loss relation is wrong: in file models/SCGAN.py,
in line 291, vgg_s should apply to nonmakeup; in line 297, vgg_r should apply to makeup, otherwise the result will be furry like #10.
Second, vgg19 module's weight in PartStyleEncoder will be overwritten by code in models/SCGAN.py line 63, so maybe you can load it's weight in line 64.
After these modification, the result is still not right, and the gradient in PartStyleEncoder and MLP is very small (Hong-Bo tells me).
Finally I use the pretrained weight provided by the author only in these two modules, and train FaceEncoder and MakeupFuseDecoder, the result is right.
But it's not ideal, waitting for better guidance.
The text was updated successfully, but these errors were encountered: