diff options
author | Youssef Kashef <youssef.kashef@gmail.com> | 2016-09-13 15:52:39 +0200 |
---|---|---|
committer | Youssef Kashef <youssef.kashef@gmail.com> | 2016-09-13 15:52:39 +0200 |
commit | fc8f3eba6fa06be2f55d1b576f46664e07f5d0a6 (patch) | |
tree | 925b0153d5e460823bc649fe326f6c1e386dc13a | |
parent | 7f8f9e146d90172e457678866961b86ae4218824 (diff) | |
download | caffe-fc8f3eba6fa06be2f55d1b576f46664e07f5d0a6.tar.gz caffe-fc8f3eba6fa06be2f55d1b576f46664e07f5d0a6.tar.bz2 caffe-fc8f3eba6fa06be2f55d1b576f46664e07f5d0a6.zip |
fix comments in matlab classification demo
-rw-r--r-- | matlab/demo/classification_demo.m | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/matlab/demo/classification_demo.m b/matlab/demo/classification_demo.m index 2b603329..435c0778 100644 --- a/matlab/demo/classification_demo.m +++ b/matlab/demo/classification_demo.m @@ -8,7 +8,7 @@ function [scores, maxlabel] = classification_demo(im, use_gpu) % % **************************************************************************** % For detailed documentation and usage on Caffe's Matlab interface, please -% refer to Caffe Interface Tutorial at +% refer to the Caffe Interface Tutorial at % http://caffe.berkeleyvision.org/tutorial/interfaces.html#matlab % **************************************************************************** % @@ -24,6 +24,7 @@ function [scores, maxlabel] = classification_demo(im, use_gpu) % $ export LD_LIBRARY_PATH=/opt/intel/mkl/lib/intel64:/usr/local/cuda-5.5/lib64 % $ export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 % Or the equivalent based on where things are installed on your system +% and what versions are installed. % % Usage: % im = imread('../../examples/images/cat.jpg'); @@ -39,7 +40,7 @@ function [scores, maxlabel] = classification_demo(im, use_gpu) % Data coming in from matlab needs to be in the order % [width, height, channels, images] % where width is the fastest dimension. -% Here is the rough matlab for putting image data into the correct +% Here is the rough matlab code for putting image data into the correct % format in W x H x C with BGR channels: % % permute channels from RGB to BGR % im_data = im(:, :, [3, 2, 1]); @@ -54,7 +55,7 @@ function [scores, maxlabel] = classification_demo(im, use_gpu) % If you have multiple images, cat them with cat(4, ...) -% Add caffe/matlab to you Matlab search PATH to use matcaffe +% Add caffe/matlab to your Matlab search PATH in order to use matcaffe if exist('../+caffe', 'dir') addpath('..'); else |