This repository is an ensemble version of several salient object detection repos.
The code is built on Ubuntu 14.04 with CUDA 8.0 and OpenCV 3.1.
-
Clone the repository:
git clone https://github.com/ArcherFMY/caffe-sal-ensemble.git
-
Build Caffe and matcaffe:
cd $CAFFE_SAL_ENSEMBLE_ROOT && cd caffe cp Makefile.config.example Makefile.config vim Makefile.config #edit Makefile.config for your environment make all -j make matcaffe
-
Run the test demo:
-
The trained model is put in folder
pretrained_models
: ->xxx.caffemodel
(download their released pretrained models and change the name to match their method name.) -
The network model is put in folder
prototxts
: ->deploy-xxx.prototxt
-
The test images can be found in
test-Image
-
Then run
test_xxx.m
using matlab, you can get the saliency maps in folderresults/xxx/
-
You could use this evaluation tool box.
This code is released under the MIT License (refer to the LICENSE file for details).
Please contact [email protected]