aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdamms <damguillotin@gmail.com>2024-05-02 16:49:39 +0200
committergdamms <damguillotin@gmail.com>2024-05-02 16:49:39 +0200
commit9408fa5ff72d9ed947f2a7ee6ea1e0863f9a98ed (patch)
tree5d5fb8b9bb7d192b7dff5d0edda69e7c34ad3c42
parent5a7a7c5ccb77f664cb8645b653a7f6cfac42fcb6 (diff)
downloaddiffusion-mnist-9408fa5ff72d9ed947f2a7ee6ea1e0863f9a98ed.tar.gz
diffusion-mnist-9408fa5ff72d9ed947f2a7ee6ea1e0863f9a98ed.zip
oups
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 899538f..4048607 100644
--- a/main.py
+++ b/main.py
@@ -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)