直接編譯caffe出現的兩個問題

2022-08-29 18:51:12 字數 441 閱讀 1303

probolem1: unsupported gpu architecture 'compute_60'

solution: 注釋掉config檔案中cuda_arch裡面和compute_60相關的東西,compute_61也需要注釋,猜測這是支援cuda8.0的

problem2:build_release/lib/libcaffe.so:undefined reference to cv::imread(cv::string const&,int)

solution: 很多教程說配置config檔案時,只改了use_cudnn :=1和with_python_layer:=1,其實還要檢視其它設定,比如這裡要去掉opencv_version :=3之前的注釋,和已經安裝好的版本一致,一般預設是opencv2

不正之處,請批評指正

Adobe Illustrator的兩個問題

adobe illustrator cs6卡的問題 卡的時候,關掉並清ai的快取,重新開啟,速度能好一點。另外乙個小方法 ctrl y,進入輪廓編輯模式,編輯的速度會快一些。另存的pdf檔案過大的問題 預設儲存的pdf的話,將近150m,通過郵箱時傳送不出去的,可以用下邊的這個方法來解決 匯出後不到...

caffe中兩個lmdb的合併 python

1 安裝lmdb 2 ubuntu 系統命令 pip install lmdb 3 執行 combine lmdb.py usr bin env python2 coding utf 8 created on sun aug 12 17 50 48 2018 author sarah import ...

d的兩個編譯時

兩個階段 ast與ctfe,ast為生成樹,ctfe為編譯時求值.其實很簡單啦.ast樹,必須通過語義給樹加上意義,然後求值函式才能求值,對不對?不然,光是樹,是沒用的.其中,模板變函式,遇見了,先造乙個ast的模板,然後例項化時,就填充這個ast,然後加入整個生成樹裡面.ctfe,在語義分析與 生...