Skip to content

Commit e09943f

Browse files
committed
Deployed 80df60e with MkDocs version: 1.6.1
1 parent 6c495e9 commit e09943f

117 files changed

Lines changed: 3959 additions & 23 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Paper/VAE/i/index.html

Lines changed: 767 additions & 0 deletions
Large diffs are not rendered by default.

Paper/VAE/image-1.png

98.1 KB

Paper/VAE/image.png

145 KB

Paper/数学基础/Diffusion model/i/index.html

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<div data-md-component="skip">
7575

7676

77-
<a href="#fdpforward-diffusion-process" class="md-skip">
77+
<a href="#_1" class="md-skip">
7878
跳转至
7979
</a>
8080

@@ -748,6 +748,15 @@
748748
</label>
749749
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
750750

751+
<li class="md-nav__item">
752+
<a href="#_1" class="md-nav__link">
753+
<span class="md-ellipsis">
754+
基本目标
755+
</span>
756+
</a>
757+
758+
</li>
759+
751760
<li class="md-nav__item">
752761
<a href="#fdpforward-diffusion-process" class="md-nav__link">
753762
<span class="md-ellipsis">
@@ -856,6 +865,15 @@
856865
</label>
857866
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
858867

868+
<li class="md-nav__item">
869+
<a href="#_1" class="md-nav__link">
870+
<span class="md-ellipsis">
871+
基本目标
872+
</span>
873+
</a>
874+
875+
</li>
876+
859877
<li class="md-nav__item">
860878
<a href="#fdpforward-diffusion-process" class="md-nav__link">
861879
<span class="md-ellipsis">
@@ -894,6 +912,21 @@
894912

895913
<h1>Diffusion model</h1>
896914

915+
<h2 id="_1">基本目标<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h2>
916+
<p>实现生成的图像分布与现实世界的图像分布尽可能接近</p>
917+
<p>如何衡量尽可能接近?</p>
918+
<p>使用最大似然估计</p>
919+
<p>假设训练模型产生的图像分布为<span class="arithmatex">\(P_{\theta}(x)\)</span>,现实世界的图像分布为<span class="arithmatex">\(P_{data}(x)\)</span></p>
920+
<p><span class="arithmatex">\(P_{data}(x)\)</span>中采样<span class="arithmatex">\(N\)</span>个样本,记为<span class="arithmatex">\(x^1,x^2,\cdots,x^m\)</span></p>
921+
<p>则有</p>
922+
<div class="arithmatex">\[\begin{align}
923+
\theta^*=\arg\max_{\theta}\sum_{i=1}^m\log P_{\theta}(x^i)\\
924+
\approx \arg\max_{\theta}E_{x\sim P_{data}(x)}\log P_{\theta}(x)\\
925+
=\argmax_{\theta}\int_{x}p_{data}(x)\log P_{\theta}(x)dx\\
926+
=\argmax_{\theta}\int_{x}p_{data}(x)\log P_{\theta}(x)-\int_{x}p_{data}(x)\log P_{data}(x)dx\\
927+
= \arg\max_{\theta}\int_{x}p_{data}(x)\frac{\log P_{\theta}(x)}{\log P_{data}(x)}dx\\
928+
=\argmax KL(p_{\theta}(x)\Vert p_{data}(x))
929+
\end{align}\]</div>
897930
<h2 id="fdpforward-diffusion-process">FDP(Forward Diffusion Process)<a class="headerlink" href="#fdpforward-diffusion-process" title="Permanent link">&para;</a></h2>
898931
<p><span class="arithmatex">\(x_t\)</span>可以直接根据<span class="arithmatex">\(x_0\)</span><span class="arithmatex">\(t\)</span>推导出来</p>
899932
<div class="arithmatex">\[x_t=\sqrt{\prod_{i=1}^{t}\alpha_i}x_0+\sqrt{1-\prod_{i=1}^{t}\alpha_i}\epsilon\]</div>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

比赛/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111

12-
<link rel="prev" href="../%E8%AF%BE%E7%A8%8B%E7%AC%94%E8%AE%B0/%E5%A4%A7%E4%B8%89%E4%B8%8B/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/%E6%95%B0%E6%8D%AE%E9%93%BE%E8%B7%AF%E5%B1%82%E4%B8%8E%E5%B1%80%E5%9F%9F%E7%BD%91/">
12+
<link rel="prev" href="../%E8%AF%BE%E7%A8%8B%E7%AC%94%E8%AE%B0/%E5%A4%A7%E4%B8%89%E4%B8%8B/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/%E7%BD%91%E7%BB%9C%E5%B1%82/">
1313

1414

1515
<link rel="next" href="%E4%BF%A1%E6%81%AF%E5%AE%89%E5%85%A8%E4%BD%9C%E5%93%81%E8%B5%9B/scql%E9%83%A8%E7%BD%B2center/">
@@ -1511,7 +1511,7 @@ <h1>Contests</h1>
15111511
<nav class="md-footer__inner md-grid" aria-label="页脚" >
15121512

15131513

1514-
<a href="../%E8%AF%BE%E7%A8%8B%E7%AC%94%E8%AE%B0/%E5%A4%A7%E4%B8%89%E4%B8%8B/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/%E6%95%B0%E6%8D%AE%E9%93%BE%E8%B7%AF%E5%B1%82%E4%B8%8E%E5%B1%80%E5%9F%9F%E7%BD%91/" class="md-footer__link md-footer__link--prev" aria-label="上一页: 数据链路层与局域网">
1514+
<a href="../%E8%AF%BE%E7%A8%8B%E7%AC%94%E8%AE%B0/%E5%A4%A7%E4%B8%89%E4%B8%8B/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BD%91%E7%BB%9C/%E7%BD%91%E7%BB%9C%E5%B1%82/" class="md-footer__link md-footer__link--prev" aria-label="上一页: 网络层">
15151515
<div class="md-footer__button md-icon">
15161516

15171517
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg>
@@ -1521,7 +1521,7 @@ <h1>Contests</h1>
15211521
上一页
15221522
</span>
15231523
<div class="md-ellipsis">
1524-
数据链路层与局域网
1524+
网络层
15251525
</div>
15261526
</div>
15271527
</a>

课程笔记/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,6 +1557,8 @@
15571557

15581558

15591559

1560+
1561+
15601562

15611563

15621564

课程笔记/大一/高等数学/高等数学查漏补缺版/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,8 @@
17181718

17191719

17201720

1721+
1722+
17211723

17221724

17231725

课程笔记/大三上/密码学基础/RSA算法/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,8 @@
19431943

19441944

19451945

1946+
1947+
19461948

19471949

19481950

0 commit comments

Comments
 (0)