summaryrefslogtreecommitdiff
path: root/matlab
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-03-18 13:54:17 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-03-18 14:03:05 -0700
commitd124b8ffe8b9680fa4e0339a0a698622472a0610 (patch)
treee96297bf8ce03667b8a8e96d1c9e2d50fca18717 /matlab
parentc5ab83781fa136ffc77be0bbabc4a55a60b2285d (diff)
downloadcaffe-d124b8ffe8b9680fa4e0339a0a698622472a0610.tar.gz
caffe-d124b8ffe8b9680fa4e0339a0a698622472a0610.tar.bz2
caffe-d124b8ffe8b9680fa4e0339a0a698622472a0610.zip
drop models/ in favor of examples/
Move the Caffe reference imagenet model and script to fetch it to examples/imagenet. Caffe bundles reference models, but it makes more sense to keep them close to examples.
Diffstat (limited to 'matlab')
-rw-r--r--matlab/caffe/matcaffe_demo.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/matlab/caffe/matcaffe_demo.m b/matlab/caffe/matcaffe_demo.m
index 459fef9c..c034172f 100644
--- a/matlab/caffe/matcaffe_demo.m
+++ b/matlab/caffe/matcaffe_demo.m
@@ -20,9 +20,9 @@ function scores = matcaffe_demo(im, use_gpu)
% scores = matcaffe_demo(im, 1);
% [score, class] = max(scores);
-model_def_file = '../../models/imagenet.prototxt';
+model_def_file = '../../examples/imagenet/imagenet_deploy.prototxt';
% NOTE: you'll have to get the pre-trained ILSVRC network
-model_file = '../../models/caffe_reference_imagenet_model';
+model_file = '../../examples/imagenet/caffe_reference_imagenet_model';
% init caffe network (spews logging info)
caffe('init', model_def_file, model_file);