Skip to content

Commit

Permalink
Deploying to main from @ PatrickG1014/notablog-starter@a5431b3 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickG1014 committed Mar 10, 2023
1 parent 43dbb1a commit 644952b
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 30 deletions.
3 changes: 2 additions & 1 deletion 2021-guangzhou.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,13 @@ <h1 class="Header__Title">2021年广州的风</h1>
</header>
<article id="https://www.notion.so/2fc609ec3d2c4529bd28ad01b8f11777" class="PageRoot"><div id="https://www.notion.so/97cd47386117430b87eb2b60ff9ba397" class="Image Image--PageWidth"><figure><a href="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F17e73390-46d6-45b2-88c1-5face1fbd613%2F4FEF92C1-70D0-4410-BDC2-F8C9B049875B.jpeg?width=4032&amp;table=block&amp;id=97cd4738-6117-430b-87eb-2b60ff9ba397"><img src="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F17e73390-46d6-45b2-88c1-5face1fbd613%2F4FEF92C1-70D0-4410-BDC2-F8C9B049875B.jpeg?width=4032&amp;table=block&amp;id=97cd4738-6117-430b-87eb-2b60ff9ba397" style="width:100%"/></a><figcaption><span class="SemanticStringArray"></span></figcaption></figure></div><div id="https://www.notion.so/85c4afc4328a4cd1b859e8fba81ced8c" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">又在B站听到了“原来你也在这里”</span></span></p></div><div id="https://www.notion.so/9848dc0cc83745108c80eb4d63449218" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">那个夜晚,那些晚风和歌,成为了我一年后关在家里时最想回到的过去</span></span></p></div></article>
<footer class="Footer">
<div>&copy; Patrick’s Blog 2022</div>
<div>&copy; Patrick’s Blog 2023</div>
<div>&centerdot;</div>
<div>Powered by <a href="https://github.com/dragonman225/notablog" target="_blank"
rel="noopener noreferrer">Notablog</a>.
</div>
</footer>

</body>

</html>
3 changes: 2 additions & 1 deletion about.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,13 @@ <h1 class="Header__Title">About me</h1>
</header>
<article id="https://www.notion.so/962db3a37ba549469b791b5bf14a1a9d" class="PageRoot"><h1 id="https://www.notion.so/61c2502cf1904549b7e7a9711614bcee" class="ColorfulBlock ColorfulBlock--ColorDefault Heading Heading--1"><a class="Anchor" href="#https://www.notion.so/61c2502cf1904549b7e7a9711614bcee"><svg width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><span class="SemanticStringArray"><span class="SemanticString">你好! 👋</span></span></h1><div id="https://www.notion.so/6c9e033d8acc43d2936431b6ca339bad" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><div id="https://www.notion.so/cb8e460009664c1289ebc6f668e26622" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">我是高赫阳,北京邮电大学计算机科学与技术专业本科生,高中毕业于辽宁省实验中学。</span></span></p></div><div id="https://www.notion.so/10d64e4f5b1547b786a00be062307ab0" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><div id="https://www.notion.so/e693ba0f4af54eb0ac898324d24864b3" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">欢迎来到我的秘密基地,这里偶尔会更新我学的新知识、读的新论文还有一些旅游回忆。</span></span></p></div><div id="https://www.notion.so/6b09bcc7deb9400c88d64dcc9d0b4b90" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><div id="https://www.notion.so/98820b7b441c465b8184493aa87ff73c" class="Image Image--PageWidth"><figure><a href="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0f0ff92d-721b-4063-b301-b39ef853cb36%2FUntitled.jpeg?width=4928&amp;table=block&amp;id=98820b7b-441c-465b-8184-493aa87ff73c"><img src="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0f0ff92d-721b-4063-b301-b39ef853cb36%2FUntitled.jpeg?width=4928&amp;table=block&amp;id=98820b7b-441c-465b-8184-493aa87ff73c" style="width:100%"/></a><figcaption><span class="SemanticStringArray"></span></figcaption></figure></div><div id="https://www.notion.so/aabd0cb8c03e4ab4a9078a19f28a4061" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div><div id="https://www.notion.so/0a49cb8ce626451fad39b71d35c0a578" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">通过 email 联系我:</span><span class="SemanticString"><a class="SemanticString__Fragment SemanticString__Fragment--Link" href="mailto:[email protected]">[email protected]</a></span></span></p></div><div id="https://www.notion.so/492c5dc3ed0c4586a496b04f920dcd9b" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div></article>
<footer class="Footer">
<div>&copy; Patrick’s Blog 2022</div>
<div>&copy; Patrick’s Blog 2023</div>
<div>&centerdot;</div>
<div>Powered by <a href="https://github.com/dragonman225/notablog" target="_blank"
rel="noopener noreferrer">Notablog</a>.
</div>
</footer>

</body>

</html>
3 changes: 2 additions & 1 deletion adversarial-robustness-01.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,13 @@ <h1 class="Header__Title">[Adversarial Robustness] 1 Introduction to adversarial
<span class="token keyword">print</span><span class="token punctuation">(</span><span class="token string-interpolation"><span class="token string">f"Predicted probability: </span><span class="token interpolation"><span class="token punctuation">{</span>nn<span class="token punctuation">.</span>Softmax<span class="token punctuation">(</span>dim<span class="token operator">=</span><span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">(</span>pred<span class="token punctuation">)</span><span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">,</span> max_class<span class="token punctuation">]</span><span class="token punctuation">.</span>item<span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">}</span></span><span class="token string">"</span></span><span class="token punctuation">)</span></span></span></span></code></pre><blockquote id="https://www.notion.so/69d8b3458e364f18aa83101b578e0b15" class="ColorfulBlock ColorfulBlock--ColorDefault Quote"><span class="SemanticStringArray"><span class="SemanticString">Predicted class: airliner
Predicted probability: 0.9099140763282776</span></span></blockquote><div id="https://www.notion.so/3047bff0df984bbfa3c022127b24174a" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">和前面一样,这里是我们的飞机猪,看起来非常像一只正常的猪(代码中的目标类别 404 的确是飞机,所以我们的定向攻击起效了)。</span></span></p></div><pre id="https://www.notion.so/6695ee5da21b4510bc1b008e9834159f" class="Code Code--NoWrap"><code><span class="SemanticStringArray"><span class="SemanticString"><span>plt<span class="token punctuation">.</span>imshow<span class="token punctuation">(</span><span class="token punctuation">(</span>pig_tensor <span class="token operator">+</span> delta<span class="token punctuation">)</span><span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">.</span>detach<span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span>numpy<span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span>transpose<span class="token punctuation">(</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">)</span></span></span></span></code></pre><div id="https://www.notion.so/51fdccb04e9349739e376279b6ef8787" class="Image Image--Normal"><figure><a href="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9f3de7c2-6d38-4b04-9234-9c66e6465446%2FUntitled.png?width=257&amp;table=block&amp;id=51fdccb0-4e93-4973-9e37-6279b6ef8787"><img src="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9f3de7c2-6d38-4b04-9234-9c66e6465446%2FUntitled.png?width=257&amp;table=block&amp;id=51fdccb0-4e93-4973-9e37-6279b6ef8787" style="width:257px"/></a><figcaption><span class="SemanticStringArray"></span></figcaption></figure></div><div id="https://www.notion.so/6e31c1eba41c40aabc48d79825d64e3a" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">下面是我们的飞机噪声。</span></span></p></div><pre id="https://www.notion.so/84a955f14a6f4e3db775e5715701b9e4" class="Code Code--NoWrap"><code><span class="SemanticStringArray"><span class="SemanticString"><span>plt<span class="token punctuation">.</span>imshow<span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token number">50</span><span class="token operator">*</span>delta <span class="token operator">+</span> <span class="token number">0.5</span><span class="token punctuation">)</span><span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">]</span><span class="token punctuation">.</span>detach<span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span>numpy<span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">.</span>transpose<span class="token punctuation">(</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">2</span><span class="token punctuation">,</span> <span class="token number">0</span><span class="token punctuation">)</span><span class="token punctuation">)</span></span></span></span></code></pre><div id="https://www.notion.so/da8da031441742229cac13573ac0128c" class="Image Image--Normal"><figure><a href="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fa8f278e7-ebcd-41d0-9a9c-220a5b69eec1%2FUntitled.png?width=257&amp;table=block&amp;id=da8da031-4417-4222-9cac-13573ac0128c"><img src="https://www.notion.so/signed/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fa8f278e7-ebcd-41d0-9a9c-220a5b69eec1%2FUntitled.png?width=257&amp;table=block&amp;id=da8da031-4417-4222-9cac-13573ac0128c" style="width:257px"/></a><figcaption><span class="SemanticStringArray"></span></figcaption></figure></div><div id="https://www.notion.so/5d131d4f834d40c0b96389ab16f3c3c2" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">当然,结论是使用对抗攻击和深度学习,你可以让猪飞。</span></span></p></div><div id="https://www.notion.so/661b7436bb9f4fefbd39fdbb5ed55b83" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"><span class="SemanticString">我们稍后会讨论这些攻击引发的实际问题,但这样的攻击的容易性引发了一个显然的问题:我们可以训练出在某种程度上抵抗这种攻击的深度学习分类器吗?这个问题的简短回答是“是的”,但我们(作为一个领域)距离真正实现这样的训练或者几乎达到我们用“标准”深度学习方法获得的性能还有很长的路。这个教程会详尽地包含攻击和防御侧,并希望到它结束时你会对目前发展状况和我们仍要取得大量进展的方向有一个了解。</span></span></p></div><h2 id="https://www.notion.so/e541c4a1c4f24a54981a25bb4c0fa869" class="ColorfulBlock ColorfulBlock--ColorDefault Heading Heading--2"><a class="Anchor" href="#https://www.notion.so/e541c4a1c4f24a54981a25bb4c0fa869"><svg width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><span class="SemanticStringArray"><span class="SemanticString">对抗鲁棒性的简短(不完整)历史</span></span></h2><ul class="BulletedListWrapper"><li id="https://www.notion.so/26d47bb532184838aa017ec5c3ba9079" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">起源(鲁棒优化,robust optimization)</span></span></li><li id="https://www.notion.so/8a77fa462cc941959458abc275c1114a" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">支持向量机</span></span></li><li id="https://www.notion.so/76d9ef8682a647789d6dbf4ead82de6e" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">对抗分类(例如 Domingos 2004)</span></span></li><li id="https://www.notion.so/717d47f74d5344d3871eec18a90ab3c3" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">不同类型鲁棒性间的差别(测试时,训练时等等)</span></span></li><li id="https://www.notion.so/68ef410f8a304e36bbf3642da139595e" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">Szgegy 等人 2003,Goodfellow 等人 2004</span></span></li><li id="https://www.notion.so/9776b6d1b9c942dc80a745c9b53fc6cd" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">许多提出的防御方法</span></span></li><li id="https://www.notion.so/ac3dfa10f9d94bb2b8f0d0d20d9ec0f7" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">许多提出的攻击方法</span></span></li><li id="https://www.notion.so/451dae865a1f4b5eaff6d46052a404ce" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">准确验证方法</span></span></li><li id="https://www.notion.so/550e1b8a68ea41d0811b44df1e344abb" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">凸上界方法</span></span></li><li id="https://www.notion.so/495557b0b54e489ab712cf3bcc6c52a8" class="BulletedList"><span class="SemanticStringArray"><span class="SemanticString">最近趋势</span></span></li></ul><div id="https://www.notion.so/788812f162c7432cb0475f0809c0436a" class="ColorfulBlock ColorfulBlock--ColorDefault Text"><p class="Text__Content"><span class="SemanticStringArray"></span></p></div></article>
<footer class="Footer">
<div>&copy; Patrick’s Blog 2022</div>
<div>&copy; Patrick’s Blog 2023</div>
<div>&centerdot;</div>
<div>Powered by <a href="https://github.com/dragonman225/notablog" target="_blank"
rel="noopener noreferrer">Notablog</a>.
</div>
</footer>

</body>

</html>
3 changes: 2 additions & 1 deletion bayes.html

Large diffs are not rendered by default.

Loading

0 comments on commit 644952b

Please sign in to comment.