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

What is objective=pred_x0 and how do you use it? #34

Open
sgbaird opened this issue Jun 10, 2022 · 1 comment
Open

What is objective=pred_x0 and how do you use it? #34

sgbaird opened this issue Jun 10, 2022 · 1 comment

Comments

@sgbaird
Copy link

sgbaird commented Jun 10, 2022

image

        if self.objective == 'pred_noise':
            target = noise
        elif self.objective == 'pred_x0':
            target = x_start
        else:
            raise ValueError(f'unknown objective {self.objective}')
@dome272
Copy link

dome272 commented Jun 14, 2022

With this option you can predict x_0 directly from x_t. However, this was shown in the papers to not work well. See https://arxiv.org/pdf/1503.03585.pdf on page 2.

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