Ryan Peters
Results
2
comments of
Ryan Peters
**Solution:** In the `make_ddim_timesteps()` function in `ldm/modules/diffusionmodules/util.py` change line 49 which has the following code: `ddim_timesteps = np.asarray(list(range(0, num_ddpm_timesteps, c)))` to `ddim_timesteps = (np.arange(0, num_ddim_timesteps) * c).astype(int)` **Reasoning:** The problem...
To add to the chaos, here's a pretty significant upgrade (speed and memory) to these functions that I wrote some time ago for my research. You might have to look...