Skip to content

Commit

Permalink
Update score_based_diffusion.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
lockwo authored and patrick-kidger committed Jun 8, 2024
1 parent 1f07888 commit 262f347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/score_based_diffusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
" self.t1 = t1\n",
"\n",
" def __call__(self, t, y):\n",
" t = t / self.t1\n",
" t = jnp.array(t / self.t1)\n",
" _, height, width = y.shape\n",
" t = einops.repeat(t, \"-> 1 h w\", h=height, w=width)\n",
" y = jnp.concatenate([y, t])\n",
Expand Down

0 comments on commit 262f347

Please sign in to comment.