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

Wrong repository for training the models? #8

Closed
alvarogonjim opened this issue Aug 23, 2021 · 2 comments
Closed

Wrong repository for training the models? #8

alvarogonjim opened this issue Aug 23, 2021 · 2 comments

Comments

@alvarogonjim
Copy link

HI @chenlin9

First of all, congratulations on such a fantastic project. I had a doubt regarding the training models. As I understood, you employed a trained SDE model to perturb the target image into a noise image, and after that, you reverse the stochastic process to get the final image. In that case, we should use the repository of @yang-song https://github.com/yang-song/score_sde (this one for PyTorch implementation) to train SDE models instead of https://github.com/ermongroup/ddim right?

Thank you so much.

@xiaoiker
Copy link

xiaoiker commented Oct 8, 2021

Seems @alvarogonjim is right. Also confuse about this.

@KellyYutongHe
Copy link
Collaborator

Hi @alvarogonjim and @xiaoiker! There are two versions of SDE/diffusion models that are compatible with our method: VP (ddpm, ddim, etc) and VE (score SDE from @yang-song ). You can use either as the pretrained model and then use the corresponding algorithm to reverse the image. The algorithm for VE is described in Algorithm 1 and 2 and the algorithm for VP is in the appendix in Algorithm 3 and 4. Feel free to check both out!

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

3 participants