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

Which dataset is being used for whitening and how many images? #39

Open
JosTheBossX opened this issue Mar 3, 2025 · 1 comment
Open

Comments

@JosTheBossX
Copy link

In the code, I see that there is a block where it does the whitening if whitened decoder is not provided.
But it uses train_dir, is this the same dataset used to train the LDM? as in the Readme.md it states that only 500 images are used to fine-tune the LDM.

But in the paper when we see in A.1. it states in the Whitening subheading that 10k images are used to whiten (but not mentioned are these images, same as the train/val on which HiDDen was trained, or unseen data, or it doesn't matter what data we use to whiten?)

While in B.5. it states that :"as a reminder the whitening is performed on 1k vanilla images from COCO at 256 × 256"

So my main question is, how many images are being used to whiten the decoder, and what dataset are we using for it?

@pierrefdz
Copy link
Contributor

Hi!
We used 10k images from the COCO dataset resized to 256x256. I haven't experimented much with the whitening dataset. I think it's important to have it at the same resolution as the images used when fine-tuning the LDM decoder, but other than that I don't know if it makes much difference.

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