Skip to content

Commit

Permalink
fix comments in matlab classification demo
Browse files Browse the repository at this point in the history
  • Loading branch information
kashefy committed Sep 13, 2016
1 parent 7f8f9e1 commit fc8f3eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions matlab/demo/classification_demo.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%
% ****************************************************************************
% 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
% ****************************************************************************
%
Expand All @@ -24,6 +24,7 @@
% $ 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');
Expand All @@ -39,7 +40,7 @@
% 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]);
Expand All @@ -54,7 +55,7 @@

% 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
Expand Down

0 comments on commit fc8f3eb

Please sign in to comment.