From 206bf8687244bf21754231569532f9c1af0765c4 Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Mon, 9 Jun 2014 20:43:47 -0700 Subject: [PATCH] make selective search proposals with R-CNN configuration --- python/caffe/detector.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/caffe/detector.py b/python/caffe/detector.py index b4e9602..56c26ae 100644 --- a/python/caffe/detector.py +++ b/python/caffe/detector.py @@ -107,7 +107,10 @@ class Detector(caffe.Net): import selective_search_ijcv_with_python as selective_search # Make absolute paths so MATLAB can find the files. image_fnames = [os.path.abspath(f) for f in image_fnames] - windows_list = selective_search.get_windows(image_fnames) + windows_list = selective_search.get_windows( + image_fnames, + cmd='selective_search_rcnn' + ) # Run windowed detection on the selective search list. return self.detect_windows(zip(image_fnames, windows_list)) -- 2.7.4