原创 DCGAN生成二次元頭像(Pytorch)

任務:基於Pytorch搭建DCGAN網絡進行訓練自動生成二次元頭像的模型 文章目錄簡介網絡介紹代碼詳解實驗結果參考 簡介 好久沒發Blog了,發個Pytorch的入門項目一起happy下~ 數據集:網盤地址 有大佬在知乎專欄提供

原创 1020 Delete At Most Two Characters (35 分)(C++)

PAT頂級題解目錄​​​​​​​ Given a string which contains only lower case English letters, how many different strings you can get

原创 PAT頂級目錄(C++)

標號 題目 題解 備註 1001 Battle Over Cities - Hard Version C++ 最小樹生成算法(Kruskal) 1002 Business C++ 動態規劃 1003 Universal Travel Si

原创 爬取知乎表情包

任務:爬取你有哪些讓你一秒變開心的表情包回答下的表情包 網頁爬取 這兒主要的知識點是Ajax加載的問題,簡單來說就是瀏覽網頁的時候,會有下滑查看更多的選項,知乎的回答就屬於這種。 先打開Chrome輸入網址,按下F12,打開開發者

原创 WaveNet筆記

文章目錄網絡結構實驗資料 網絡結構 首先輸入數據,進行一維的因果卷積,然後進入到殘差塊中,殘差塊是這樣的結構:將數據再進行一次空洞卷積,分兩路,一路是用tanh()做激活函數,一路是用sigmoid做激活函數,最後又將兩路合併,

原创 Python深度學習(8):DeepDream

算法簡介 DeepDream是Google在2015年發出的一個比較好玩的算法。它的本意是去可視化神經網絡。其思想簡介就是,對於深度學習,以圖片分類爲例,我們最終的網絡可以識別圖像,是因爲在訓練過程中不斷改變網絡的參數值。那麼我們

原创 1016 Uniqueness of MST (35 分)(C++)

PAT頂級題解目錄​​​​​​​ Given any weighted undirected graph, there exists at least one minimum spanning tree (MST) if the grap

原创 AUTOVC: Zero-Shot Voice Style Transfer with Only Autoencoder Loss筆記

文章目錄網絡結構說話人編碼器內容編碼器解碼器聲碼器實驗 論文:AUTOVC: Zero-Shot Voice Style Transfer with Only Autoencoder Loss 代碼:github地址 AutoVC

原创 1018 Subnumbers (35 分)(C++)

PAT頂級題解目錄​​​​​​​ Given a positive integer N, let us define a subnumber of N as a consecutive number of digits NOT start

原创 1021 Safe Fruit (35 分)(C++)

PAT頂級題解目錄 There are a lot of tips telling us that some fruits must not be eaten with some other fruits, or we might get

原创 1010 Lehmer Code (35 分)(C++)

歡迎訪問我的PAT頂級題解目錄 According to Wikipedia: "In mathematics and in particular in combinatorics, the Lehmer code is a partic

原创 1004 To Buy or Not to Buy - Hard Version (35 分)(C++)

PAT頂級題解目錄​​​​​​​ Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy s

原创 1009 Triple Inversions (35 分)(C++)

歡迎訪問我的PAT頂級題解目錄 Given a list of N integers A​1​​, A​2​​, A​3​​,...A​N​​, there's a famous problem to count the number o

原创 1008 Airline Routes (35分)(C++)

Given a map of airline routes, you are supposed to check if a round trip can be planned between any pair of cities. Inp

原创 JS批量刪除博客園的博客的完整教程

深切地感覺到自己好些事情都是自找的。突發奇想試一下博客園,點了下CDSN的博客遷移,還沒搬完就後悔了,一年前刷的那些算法題,實在是不想再去分類啥的了23333,然後刪吧,What?不能批量刪??幾百篇總不能手動刪吧。作爲一個計科人,能偷的