-
Notifications
You must be signed in to change notification settings - Fork 141
/
startup.m
21 lines (21 loc) · 823 Bytes
/
startup.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function startup()
fprintf('Entering startup\n');
curdir = fileparts(mfilename('fullpath'));
if ~(isdeployed)
fprintf('Adding paths\n');
addpath(genpath(fullfile(curdir, 'utils')));
addpath(genpath(fullfile(curdir, 'functions')));
addpath(genpath(fullfile(curdir, 'bin')));
addpath(genpath(fullfile(curdir, 'experiments')));
addpath(genpath(fullfile(curdir, 'imdb')));
addpath(genpath(fullfile(curdir, 'datasets/coco2014/')));
fprintf('Starting caffe\n');
caffe_path = fullfile(curdir, 'external', 'caffe', 'matlab');
if exist(caffe_path, 'dir') == 0
error('matcaffe is missing from external/caffe/matlab; See README.md');
end
addpath(genpath(caffe_path));
fprintf('Done\n');
end
fprintf('mask_rcnn startup done\n');
end