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

Why add same noise to pairwise images? #3

Open
ChenDRAG opened this issue Mar 10, 2024 · 1 comment
Open

Why add same noise to pairwise images? #3

ChenDRAG opened this issue Mar 10, 2024 · 1 comment

Comments

@ChenDRAG
Copy link

Hi, thank you for the efforts in open-source the paper code. When looking into the code, I found it manually modified the noise added to the pairwise images to be the same.

if args.train_method == 'dpo': # make timesteps and noise same for pairs in DPO

I'm wondering why this needs to be done. If this is necessary by theory?

@LeonNerd
Copy link

From my understanding of the paper, the formula in the paper has reflected this point. From the point of view of training, at tempstep n, how should we judge which picture is good, that is, adding the same noise to the pair of pictures at time t

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