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

questions on source data #84

Open
louisefz opened this issue Jun 14, 2024 · 1 comment
Open

questions on source data #84

louisefz opened this issue Jun 14, 2024 · 1 comment

Comments

@louisefz
Copy link

Hi summmeer,

I have one question on dataset of source side. You mentioned in your paper that the source part serves as condition for the target part, and noises will only be imposed on target part. However, I didn't see such conditioning. Besides, how to process source together with the noising target during the forward process; I guess the final zT can be concat(Emd(x),yT). In the reverse process or smapling stage, how will source part be functioning?

@summmeer
Copy link
Collaborator

summmeer commented Aug 5, 2024

Hi,
The $x$ in our code corresponds to $z$ in the paper, and we use mask to impose the partial noise. You can refer to:

sample = th.where(mask==0, x_start, sample)

return th.where(mask==0, x_start, x_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