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

pytorch implementation and ODE #2

Closed
gwang-kim opened this issue Sep 4, 2021 · 2 comments
Closed

pytorch implementation and ODE #2

gwang-kim opened this issue Sep 4, 2021 · 2 comments

Comments

@gwang-kim
Copy link

gwang-kim commented Sep 4, 2021

Hi, thanks for your great works.

Do you have any plan to implement the codes with Pytorch?
And can this method be applied as an ODE solver where the forward and reverse processes are deterministic?

@gwang-kim gwang-kim changed the title pytorch implementation? pytorch implementation and ODE Sep 5, 2021
@AlexiaJM
Copy link
Owner

@AlexiaJM
Copy link
Owner

AlexiaJM commented Sep 21, 2021

For ODE solving, you could use Heun's method instead of RK45, by changing the method in this line: https://github.com/yang-song/score_sde_pytorch/blob/1618ddea340f3e4a2ed7852a0694a809775cf8d0/sampling.py#L474. But ODE solving is much worse for VE than SDE solving , just keep that in mind.

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