tx2安裝caffe總結

2021-09-22 23:42:31 字數 1378 閱讀 1193

cuda_arch := -gencode arch=compute_20,code=sm_20 \

-gencode arch=compute_25,code=sm_25 \

-gencode arch=compute_30,code=sm_30 \

-gencode arch=compute_35,code=sm_35 \

-gencode arch=compute_50,code=sm_50 \

-gencode arch=compute_52,code=sm_52 \

-gencode arch=compute_60,code=sm_60 \

-gencode arch=compute_61,code=sm_61 \

-gencode arch=compute_61,code=compute_61

為了匹配cuda8的計算能了去掉

-gencode arch=compute_20,code=sm_20 \

-gencode arch=compute_25,code=sm_25 \

在92行左右將

include_dirs

:= $(

python_include) /usr/local/include

改為

include_dirs

:= $(

python_include) /usr/local/include /usr/include/hdf5/serial/

然後改makefile.config

將175行左右的

libraries +=glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5
改為

libraries +=glog gflags protobuf boost_system boost_filesystem m hdf5_serial_hl hdf5_serial
importerror:no

module

named

gpu_nms

那時因為在nms資料夾下的檔案是對於桌面平台的gpu及cpu編譯的,你需要刪除然後進入lib目錄下

執行make命令,編譯時可能會出現相應的python包沒安裝,只要pip或apt-get就行了

然後再執行demo.py就可以了

TX2離線安裝cuda cudnn

和 1.拷貝 cd mkdir cuda l4t cp cuda l4t.sh home usrname cuda l4t 2.檢視cuda l4t.sh指令碼 3.安裝命令 需聯網 bash cuda l4t.sh cuda repo l4t 8 0 local 8.0.34 1 arm64.de...

英偉達TX2學習筆記 tx2簡介

官方環境搭建和入門例程 開啟不同的效能模式 我直接開的是最大功率模式,工作到一定程度風扇會轉 板子本身的配置,cpu,gpu,cuda,cudadnn這些 值得注意的是它是arm v8架構,我的源也早就換成了arm的源 基礎操作指令,檢視記憶體狀態什麼的 在tx2上安裝opencv 3.4.0的步驟...

TX2安裝CH341驅動 總結

tx2安裝ch341驅動 總結 1,tx2流程 tx2的系統為ubuntu 16.04,安裝的jetpack版本是3.3,l4t版本是28.2.1,tegra是4.4.38 tegra版本可以通過在終端輸入uname r來檢視 獲取指令碼,並進入資料夾 git clone 通過edit find找到...