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

How to write the label file? #1

Open
arunpatro opened this issue Nov 13, 2018 · 2 comments
Open

How to write the label file? #1

arunpatro opened this issue Nov 13, 2018 · 2 comments

Comments

@arunpatro
Copy link

arunpatro commented Nov 13, 2018

Hi,

I couldn't figure out from the Readme.md and

if self.label_file is None:

about how the label file should be written as. From reading the paper, I understand that your Disentangling Conditional GAN perfoms color regression rather than categorical classification.

From

reordered_labels += [labels[key]]
, I figure that labels is a pickle dump of a dictionary. Are the keys of this dictionary names of the images and values of this dictionary numpy arrays of RGB values?

@gokyildirim
Copy link
Contributor

Yes, in the paper, we perform color regression. The dictionary structure is as you have described, the keys are the file name of an image, and the values are the average RGB color of the associated object in the image. I will create an updated branch soon with an example toy dataset, I hope it will be clearer for you as well.

@gokyildirim
Copy link
Contributor

@arunpatro could you check the new branch "toydata", I hope it is clearer now.

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