Install and Compile MatConvNet: CNNs for MATLAB --- Deep Learning framework

Install and Compile MatConvNet: CNNs for MATLAB --- Deep Learning framework 

2017-04-18  10:19:35 

 

If you want to use matlab convnet, you just install according to the following tutorials: 

1. Download and unzip the original source file from: http://www.vlfeat.org/matconvnet/ 

2. Then, install and compile this file: 

  > cd <MatConvNet>

  > addpath matlab

  > vl_compilenn 

3. If you want to use GPU, you need to compile with :

  > vl_compilenn('enableGpu', true, 'cudaRoot', '/usr/local/cuda-8.0', 'cudaMethod', 'nvcc') 

 

4. then test if you have install it successfully. 

  > vl_testnn('gpu', true) 

 

Useful Tips:

1. Do not use the  1.0-beta20 , because it may contain BUG ! I encounter this error with this version.

  then, I changed into  1.0-beta24 , everything become easy ... you know ... 

 

 

 

 

posted @ 2017-04-18 10:30  AHU-WangXiao  阅读(402)  评论(0编辑  收藏  举报