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

Alternative way to concatenate AU conditions with input image #50

Closed
aiueogawa opened this issue Oct 8, 2018 · 4 comments
Closed

Alternative way to concatenate AU conditions with input image #50

aiueogawa opened this issue Oct 8, 2018 · 4 comments

Comments

@aiueogawa
Copy link

aiueogawa commented Oct 8, 2018

@albertpumarola
Hi, I have a question about a way to incorporate the AU conditions into an input.

Your paper says that desired AU conditions (expression) are originally a N-length vector which has a normalized activation value between 0 and 1 respectively, and are concatenated to input as additional channels of input by expanding them into the same size as that of input image.
I think this expansion is for the input to be compatible with the first convolutional layer.
I wonder what is the most reasonable way to construct an input with non-image-like (scalar or vector) conditions.

A possible alternative way to do it is concatenating AU conditions as a vector with image unrolled into a vector and replace the first convolutional layer with a fully-connected layer.
How do you think of it?

@aiueogawa
Copy link
Author

aiueogawa commented Oct 8, 2018

A possible alternative way to do it is concatenating AU conditions as a vector with image unrolled into a vector and replace the first convolutional layer with a fully-connected layer.

This produces much many parameters especially when image is high resolution, so it seems not so good.

@albertpumarola
Copy link
Owner

There exists a large literature on image conditional generation (from noise+conditioning) check them out, you should find some useful insights on conditional representation for non-image like inputs.

@aiueogawa
Copy link
Author

@albertpumarola
As you say, there is a lot of ways for image conditional generation.
Why did you choose the aforementioned way?
Did you follow the way adopted in pix2pix?

@albertpumarola
Copy link
Owner

On my previous paper I checked a bunch of methods and concatenating had the best tradeoff performance-overhead.

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