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

Custom dataset training (P2 weighting) #10

Open
ozgurkara99 opened this issue Jul 4, 2023 · 1 comment
Open

Custom dataset training (P2 weighting) #10

ozgurkara99 opened this issue Jul 4, 2023 · 1 comment

Comments

@ozgurkara99
Copy link

Hello,

I have trained a diffusion model with a custom dataset using P2 weighting (the training code in the guided_diffusion folder), however, the generated samples are not correct when I use the functions (denoisin_step, generalized_steps) you have used in the main script. However, when I use the sampling codes in guided_diffusion/gaussian_diffusion.py module, it correctly generates samples. So could you please provied the details about how you trained CelebA_P2 model so that I can train my own dataset using P2 weighting with the same settings you trained in order to make it run with the sampling codes in your code?

Thanks

@sidney1505
Copy link

@ozgurkara99 did you find a solution for the problem? I tried it the other way around doing inference with the pretrained models and that also did not work...

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