沒有磁盤空間 No space left on device


INSTALL 的解釋文件

幫助文件

  • 這里的 pytorch=1.0.1 torchvision=0.2.2 cudatoolkit=9.0,這個ATSS可以運行。

  • 這里最好能夠查看一下cuda的版本:

​ 1.cat /usr/local/cuda/version.txt
​ 2.或者 nvcc -v

  • no module named cv2:

​ 解決方法:

​ 使用命令

​ pip install opencv-python

同時在下載包的時候,經常會遇到在現有的channel是里面沒有搜尋到或者服務器在國外導致速度極慢,這個時候就應該 add channels了。

在國內推薦清華源或、中科大或者阿里源,運行下面代碼:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/

然后根據anconada的提示輸入或者按照下面的代碼查看現在已存在的channels:

conda config --set show_channel_urls yes

參考文獻:Anaconda換國內源(清華源、中科大源)

如何創建Python 虛擬環境(Pytorch)

linux查看cuda版本

運行python腳本時出現no module named cv2怎么解決

問題 RuntimeError: cannot perform reduction function min on tensor with no elements because the operation

解決辦法:標簽問題,我使用的是voc的xml標簽。在labelimg中打開標簽發現右上角勾選了difficult這個選項,去掉之后保存就可以使用了。

其實就是圖像沒有對應上對應的標簽文件,沒有加載對labels文件,所以沒法去計算loss,你可以看看有沒有加載到對應圖片的labels文件

這時,我會粗暴的kill進程,然后重新啟動程序。

以下是一些可能的解決方法:

幫助文件:一定要使用內存和磁盤空間大的服務器跑deep learning 的代碼

  • No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', .....

這個本質問題是沒有磁盤空間了,最后連記錄文件都無法書寫了。

Answer

That's python on the server side saying "Hey!, none of those 4 directories are places I can write temporary files!". Check to make sure at least one of them exists, can be written to by the user mercurial is running as on the server side, and make sure the disk isn't full.

解決方法就是一個字:刪!!

參考文件:如何解決linux報No space left on device錯誤

No space left on device 解決Linux系統磁盤空間滿的辦法


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM