原创 使用 pip install torchvision 報錯
使用 pip install torchvision 報錯解決辦法: 換命令: conda install torchvision 或者 conda install torchvision -c pytorch 親測第一個成功,第
原创 安裝遇到問題 ERROR: Cannot uninstall 'Werkzeug'. It is a distutils installed project and ……
安裝遇到問題:ERROR: Cannot uninstall 'Werkzeug'. It is a distutils installed project and thus we cannot accurately determine
原创 apt-get安裝問題:請嘗試不指明軟件包的名字來運行“apt-get -f install”
正在讀取軟件包列表... 完成 正在分析軟件包的依賴關係樹... 完成 您可能需要運行“apt-get -f install”來糾正下列錯誤: 下列的軟件包有不能滿足的依賴關係: cdparanoia: 依賴: libcdparanoia
原创 windows情況下關於”python Jupyter不能導入外部,但是終端可以import“的問題的解決辦法
感謝博客提供的方案,親測有效。 https://blog.csdn.net/qq_42182367/article/details/82594994 問題解決!
原创 解決Ubuntu中Chrome插件安裝時程序包無效:"CRX_HEADER_INVALID"
打開chorme的擴展程序(設置——>更多工具——>擴展程序)chrome://extensions 選擇開發者模式 拖拽.crx至Chrome的擴展程序列表 安裝失敗 報錯爲:程序包無效:"CRX_HEADER_INVALID" 成功安
原创 Pytorch快速搭建神經網絡
(一)init和forward 每一個torch模塊當中都有__init__()和forward() __init__()裏面包含搭建神經網絡那些層所需要的信息; forward()包含神經網絡前向傳遞的內容;比如init裏面的那些層的
原创 virtualbox怎麼實現雙向複製粘貼,安裝增強功能時點擊沒反應(解決辦法)
詳情見: (1)安裝增強功能時點擊沒反應(解決辦法): http://taotaoit.com/article/details/139.html (2)virtualbox怎麼實現雙向複製粘貼 https://blog.csdn.net/
原创 The Primes as a Result of the Longest Consecutive Sum I
好久沒寫codewars,哎,頹廢了好多天。今天一寫一題就是一天最後還是timeout,尷尬至極,但是至少輸出答案都能對,需要優化代碼。 題目: https://www.codewars.com/kata/the-primes-as-a-
原创 U盤在Ubuntu中不可複製文件、移動文件-問題解決
今天找師兄拷貝實驗數據集;結果師兄一插入自己Ubuntu系統的電腦,複製文件到我U盤上覆制不進去……前腳我還去Windows系統上打印了,後腳就不行了,咋回事。在網上百度了一下,試了幾種方法終於行了。感謝博客:https://blog.c
原创 電視劇《知否知否,應是綠肥紅瘦》——劇評詞雲製作
前幾天看了一下csdn微信公衆號發的關於知否劇評的詞雲製作覺得很有趣,因此也模仿了一下十分有趣,可是還有些細節要注意。 第一步代碼如下: # -*-coding:utf-8-*- #導入相關模塊 import requests from
原创 入坑codewars第21天-Numbers that are a power of their sum of digits
新年第一道題,已經幾個月沒寫了,哎,畢業設計整不出 The number 81 has a special property, a certain power of the sum of its digits is equal to 81
原创 入坑codewars第20天- Rot13
題目: ROT13 is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alph
原创 入坑codewars第19天-Calculating with Functions
題目: This time we want to write calculations using functions and get the results. Let's have a look at some examples: Ja
原创 入坑codewars第18天-Alphabet wars - nuclear strike
題目:Alphabet wars - nuclear strike Introduction There is a war and nobody knows - the alphabet war! The letters hide in