Skip to content

Commit 7e86a35

Browse files
committed
continuing latex debug
1 parent 0e7b1e9 commit 7e86a35

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lab2/Part2_Debiasing.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,17 +487,19 @@
487487
"id": "KV1khmq5wt-K"
488488
},
489489
"source": [
490-
"The equations for both of these losses are provided below:\r\n",
490+
"The equation for the latent loss is provided by:\r\n",
491491
"\r\n",
492492
"$$L_{KL}(\\mu, \\sigma) = \\frac{1}{2}\\sum_{j=0}^{k-1} (\\sigma_j + \\mu_j^2 - 1 - \\log{\\sigma_j})$$\r\n",
493493
"\r\n",
494-
"$$L_{x}{(x,\\hat{x})} = ||x-\\hat{x}||_1$$\r\n",
494+
"The equation for the reconstruction loss is provided by:\r\n",
495495
"\r\n",
496-
"<!-- $$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",
496+
"$$L_{x}{(x,\\hat{x})} = ||x-\\hat{x}||_1$$\r\n",
497497
"\r\n",
498498
"Thus for the VAE loss we have:\r\n",
499499
"\r\n",
500-
"$$L_{VAE} = c\\cdot L_{KL} + L_{x}{(x,\\hat{x})}$$"
500+
"$$L_{VAE} = c\\cdot L_{KL} + L_{x}{(x,\\hat{x})}$$\r\n",
501+
"\r\n",
502+
"where $c$ is a weighting coefficient used for regularization. Now we're ready to define our VAE loss function:"
501503
]
502504
},
503505
{

0 commit comments

Comments
 (0)