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

Filling in missing features through training #19

Open
kaihuchen opened this issue Nov 27, 2016 · 2 comments
Open

Filling in missing features through training #19

kaihuchen opened this issue Nov 27, 2016 · 2 comments

Comments

@kaihuchen
Copy link

I am attempting to use this cGAN implementation for building the visual neural model of a specific person from photos or videos. One experiment that I did was to remove some features in the input image (say, an eye), and then see what it takes for cGAN to recover the missing features through learning. While monitoring the progress of such a training session, I am surprised to see that cGAN is attempting to move one or more whole eyes around seemingly looking for a fit, like this:

20161127171224

My question here is: what mechanism in this cGAN implementation would explain this behavior? I could imagine that the whole eye is actually represented as a high-level feature somewhere in the higher layer of the generator, and that the fractionally-strided convolution allows for some translation manipulation, but not sure why we would see two eyes sometimes, why the fitting process appears to be somewhat aimless and often off the mark by quite a bit (yes, it did take quite a while with the eye being moved all over the place) during training, why cGAN would decide that adding an eye way off position is worth trying (since the error from that would seem fairly high).

Anybody has insight on this?

@phillipi
Copy link
Owner

Very strange!

Can you share some examples of the input and output pairs you trained on?

The discriminator does tend to be rather insensitive to minor translations, but this looks like a pretty big translation!

@kaihuchen
Copy link
Author

@phillipi You can find my dataset HERE. Somehow github won't allow me to attach it as a zip file here.

You can also find more details about my experiment in my blog HERE, mainly in the Experiment #2 section. There I have described some other observed phenomenon, such as the ghostly cross-identity repair of missing feature, the wrong eye being repaired, etc.

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