sndnyang / iDDPM

My pipeline wrapper of 'Improved Denoising Diffusion Probabilistic Models'.
MIT License
17 stars 3 forks source link

sampling work #1

Closed binxuan98 closed 1 year ago

binxuan98 commented 1 year ago

Thank you very much for your work. I have two questions; please help me. (i) Is there any plan to separate the sampling work? I found that you are now implementing sampling in each iteration during the training process. (ii) How to use open ai's pre-trained models to sample in your code. The trouble you again.

sndnyang commented 1 year ago

2) you mean python iddpm_eval.py --eval gen --resume path/your/checkpoint.pth --gpu-id 0 ? Of course, you need to check the model's configurations in iddpm/script_util.py to load the model.

1) in most cases, the TODO list is a never-do list.

binxuan98 commented 1 year ago

Thanks for your reply, I will try.