發表文章

目前顯示的是 12月, 2018的文章

Asus主機 i7 Ubuntu16.04 + GTX 1080 8G + cuda10.0 + cudnn7.4.1 install driver

圖片
Asus主機 i7 Ubuntu16.04 + GTX 1080 8G install driver 目錄 1 Install CUDA10.0 Reference 1.1 Step1. 先update and upgrade 一下 1.2 Step2. follow 2.6 去nvidia cuda download 1.3 Step3. follow 3.7.2 Package_Upgrades 1.4 Step4. follow 7.1.1 Environment Setup 1.5 Step5. follow 7.3.1 install Third-party Libraries 1.6 Step6. follow 2.1 Verify you have a CUDA-Capable GPU 1.7 Step7. 檢查一些相關... 1.8 Step8. follow 4.3.5 Ubuntu Disabling Nouveau 1.9 Step9. follow 這篇網誌 把path 放到 /etc/profile,(開機就會打開) 1.10 Step10. 重開機吧~~~~~~ 1.11 Step11. (如果開機還能用就繼續 step 11. 執行 Test samples) 1.12 Step12. follow 7.2.3.1 Verify the Driver Version 1.13 Step13. follow 7.2.3.3 Running the Binaries 2 Install cuDNN7.4.1 Reference 2.1 dpkg tips 2.2 Step1. 到官網download 2.3 Step2. 去到解壓縮的資料夾裡 2.4 Step3. 檢查cudnn 安裝成功與否 3 看一下安裝之後 Install CUDA10.0 Reference CUDA Toolkit v10.0.130 pdf Step1. 先update and upgrade 一下 $ sudo apt-get update $ sudo apt-get upgrade Step2. follow 2....

Asus主機 i7 Ubuntu16.04 + GTX 1080 8G + cuda10.0 + cudnn7.4.1 install caffe

目錄 1 Install caffe Reference 1.1 Step1. pre-installation 1.2 Step2. 1.3 Step3. 2 Caffe mnist test 2.1 training Reference Install caffe Reference 官網要看< 17.04 的範圍 blog安裝教學 Step1. pre-installation $ sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler $ sudo apt-get install --no-install-recommends libboost-all-dev BLAS: $ sudo apt-get install libopenblas-dev Python: $ sudo apt-get install the python-dev package $ sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev $ sudo apt-get install libatlas-base-dev Step2. $ git clone git://github.com/BVLC/caffe.git $ cd caffe/ $ cp Makefile.config.example Makefile.config 更改 Makefile.config $ vim Makefile.config uncommand USE_PKG_CONFIG := 1 USE_OPENCV := 0 (12/6 還沒安裝opencv所以先關掉 OPENCV_VERSION := 2.4 **opencv error** _InputArray const&, intcv::_InputArray const&,) 'int )' collect2: error: ...

Ubuntu 16.04 + GTX 1080 8G

圖片
Asus主機 i7 Ubuntu16.04 + GTX 1080 8G install driver (公司電腦) Reference CUDA Toolkit v10.0.130 pdf      Step1. 先update and upgrade 一下  $ sudo apt-get update   $ sudo apt-get upgrade Step2. follow 2.6 去 nvidia cuda download 選擇 Linux -> x86_64 -> Ubuntu -> 16.04 ->deb (network選比較小的覺得速度較快哈 )  $ `sudo dpkg -i cuda-repo-ubuntu1604_10.0.130-1_amd64.deb`   $ `sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute         /cuda/repos/ubuntu1604/x86_64/7fa2af80.pub`    When installing using network repo on Ubuntu 17.10:     $ sudo apt-key adv --fetch-keys https:/...      When installing using network repo on Ubuntu 16.04:     $ sudo apt-key adv --fetch-keys http:/...     Ubuntu 17.10 跟 16.04 路徑只差 https 跟 http!!!  $ `sudo apt-get update`   $ `sudo apt-get install cuda` Step3. ...