diff options
| author | gdamms <damguillotin@gmail.com> | 2024-05-02 16:49:39 +0200 |
|---|---|---|
| committer | gdamms <damguillotin@gmail.com> | 2024-05-02 16:49:39 +0200 |
| commit | 9408fa5ff72d9ed947f2a7ee6ea1e0863f9a98ed (patch) | |
| tree | 5d5fb8b9bb7d192b7dff5d0edda69e7c34ad3c42 /main.py | |
| parent | 5a7a7c5ccb77f664cb8645b653a7f6cfac42fcb6 (diff) | |
| download | diffusion-mnist-9408fa5ff72d9ed947f2a7ee6ea1e0863f9a98ed.tar.gz diffusion-mnist-9408fa5ff72d9ed947f2a7ee6ea1e0863f9a98ed.zip | |
oups
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ if __name__ == '__main__': for ti in range(DIFFU_STEPS, 0, -1): t = torch.tensor([[ti]], device=DEVICE, dtype=torch.float32) - x = p_xt_1_xt(model, x, t, vec).sample() + x = p_xt_1_xt(model, x, t, vec) if ti in ti_plots: ti_plotind = nb_plots - np.where(ti_plots == ti)[0][0] ax = fig.add_subplot(len(n_values), nb_plots, ti_plotind + nb_plots * attempti) |
