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

Retraining NCSN++ using PDS #1

Open
Aravinda27 opened this issue Nov 19, 2022 · 4 comments
Open

Retraining NCSN++ using PDS #1

Aravinda27 opened this issue Nov 19, 2022 · 4 comments

Comments

@Aravinda27
Copy link

Aravinda27 commented Nov 19, 2022

Hi Hengyuan

Let me first congratulate for the nice work. Can we use the Preconditioned diffusion sampling (PDS) for training NCSN++ from scratch. The reason is because I modified the time step embeddings of NCSN++ to Resnet based embeddings. So I need to retrain the NCSN++ from the scratch. What do you suggest??

@AwakerMhy
Copy link
Collaborator

Thank you for your attention to our work. PDS is applied during the sampling phase of NCSN++. If you want to train the NCSN++ using PDS, our suggestion is that you may need to reconsider the filters, since our PDS will change the objective function, leading to unexpected results, such as instability or harder convergence of training.

@Aravinda27
Copy link
Author

Thank you for your reply.

@Aravinda27
Copy link
Author

Hi Hengyuan,

Sorry for troubling again where is this time_cond parameter is calculated in ncsnpp.py file. Since it is used in the forward function of ncsnpp.py file.

@Aravinda27 Aravinda27 reopened this Dec 6, 2022
@AwakerMhy
Copy link
Collaborator

This parameter is set by the step schedule which is passed to the update_fn of a corrector or predictor iteration function in sampling.py, please take a look.

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