Skip to content

Commit bd2ed76

Browse files
committed
diffusers done
1 parent b4a8999 commit bd2ed76

File tree

2 files changed

+1486
-509
lines changed

2 files changed

+1486
-509
lines changed

Diffusers_library.ipynb

Lines changed: 1484 additions & 508 deletions
Large diffs are not rendered by default.

diffusion_from_scratch.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@
836836
"\n",
837837
"#### *Sampling algorithm*\n",
838838
"$\\boldsymbol{x}_T \\sim \\mathcal{N}(\\boldsymbol{0}, \\boldsymbol{I})$\n",
839+
"\n",
839840
"**for** $t=T, \\dots, 1$ **do**\n",
840841
"- $\\boldsymbol{z} \\sim \\mathcal{N}(\\boldsymbol{0}, \\boldsymbol{I})$ if $t > 1$ else $\\boldsymbol{z}=0$\n",
841842
"- $\\boldsymbol{x}_{t-1} = \\frac{1}{\\sqrt{\\alpha_t}} \\big( \\boldsymbol{x}_{t} - \\frac{1 -\\alpha_t}{\\sqrt{1 - \\bar{ \\alpha}_t}}$ <span style=\"color:purple\"> NN$(\\boldsymbol{x}_t, t)$ </span> $\\big) + \\tilde \\beta_t \\boldsymbol{z}$\n",
@@ -3377,7 +3378,7 @@
33773378
"name": "python",
33783379
"nbconvert_exporter": "python",
33793380
"pygments_lexer": "ipython3",
3380-
"version": "3.10.4"
3381+
"version": "3.9.12"
33813382
},
33823383
"toc": {
33833384
"base_numbering": 1,

0 commit comments

Comments
 (0)