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

Do we need segmentation masks to train disCVAE? #7

Open
anno2020 opened this issue Jun 29, 2021 · 0 comments
Open

Do we need segmentation masks to train disCVAE? #7

anno2020 opened this issue Jun 29, 2021 · 0 comments

Comments

@anno2020
Copy link

Hi Xinchen,

I just got to your wonderful paper Attribute2Image and I have a question about it. It will be great if you can answer it.

I saw that disCVAE decomposes the image generation into a foreground image generation and a background generation. The final image is the composition of the two. My question is do we need ground truth segmentation masks of training images to implement disCVAE?

It seem your code use the ground truth segmentation to train disCVAE?

local cur_mask = trainData[idx][2]:float():clone()

Thanks in advance!

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

1 participant