curryjung / InjectFusion_official

118 stars 3 forks source link

Compatibility of DiffStyle with i-ddpm Model Outputting x0 #9

Open ZengJia-Notes opened 1 year ago

ZengJia-Notes commented 1 year ago

I have trained an i-ddpm model with predict_xstart = True, which instructs the diffusion model to output the value of x0.

Does DiffStyle also work when the model is outputting x0?

If not, which parts of the code should I modify to enable its functionality?

Thank you.

curryjung commented 1 year ago

We do not provide the version with the 'predict_xstart=True'.

To enable its functionality, you might modify ./utils/diffusion_utils.py/denoising_step

Thanks

ZengJia-Notes commented 1 year ago

I'm almost clueless about where to start. How can I go about modifying the code? Thank U