Skip to content

Commit f080cfd

Browse files
committed
debug
1 parent ce90524 commit f080cfd

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

lab2/Part2_Debiasing.ipynb

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,15 +481,28 @@
481481
"2. **Reconstruction loss ($L_{x}{(x,\\hat{x})}$)**: measures how accurately the reconstructed outputs match the input and is given by the $L^1$ norm of the input image and its reconstructed output."
482482
]
483483
},
484+
{
485+
"cell_type": "markdown",
486+
"metadata": {
487+
"id": "KV1khmq5wt-K"
488+
},
489+
"source": [
490+
"The equations for both of these losses are provided below.\r\n",
491+
"\r\n",
492+
"$$L_{KL}(\\mu, \\sigma) = \\frac{1}{2}\\sum\\limits_{j=0}^{k-1}\\small{(\\sigma_j + \\mu_j^2 - 1 - \\log{\\sigma_j})}$$\r\n",
493+
"\r\n",
494+
"Thus for the VAE loss we have."
495+
]
496+
},
484497
{
485498
"cell_type": "markdown",
486499
"metadata": {
487500
"id": "qWxOCPgvv1lf"
488501
},
489502
"source": [
490-
"The equations for both of these losses are provided below:\r\n",
503+
"The equations for both of these losses are provided below.\r\n",
504+
"\r\n",
491505
"\r\n",
492-
"$$L_{KL}(\\mu, \\sigma) = \\frac{1}{2}\\sum\\small{(\\sigma_j + \\mu_j^2 - 1 - \\log{\\sigma_j})}$$\r\n",
493506
"\r\n",
494507
"$$L_{KL}(\\mu, \\sigma) = \\frac{1}{2}\\sum\\limits_{j=0}^{k-1}\\small{(\\sigma_j + \\mu_j^2 - 1 - \\log{\\sigma_j})}$$\r\n",
495508
"\r\n",

0 commit comments

Comments
 (0)