开源软件名称(OpenSource Name):gidariss/AttractioNet开源软件地址(OpenSource Url):https://github.com/gidariss/AttractioNet开源编程语言(OpenSource Language):MATLAB 95.4%开源软件介绍(OpenSource Introduction):Attend Refine Repeat: Active Box Proposal Generation via In-Out LocalizationIntroductionThe AttractioNet code implements the following arxiv paper: Abstract: Sample experimental resultsAverage recall results of AttractioNet box proposal generation approach:
Average precision results on COCO test-dev2015 set of a VGG16-Net based object detector with AttractioNet proposals:
The AttractioNet model used for the generation of the above results was trained on the COCO 2014 train set. Citing AttractioNetIf you find AttractioNet useful in your research, please consider citing our BMVC paper:
or the significantly extended arxiv version of the former:
LicenseThis code is released under the MIT License (refer to the LICENSE file for details). Contents
RequirementsHardware. In order to use AttractioNet for extracting bounding box proposals from an image you will require a GPU with at least 4 Gbytes of memory Software.
Installation
Then follow the Caffe and Matcaffe installation instructions here. Note that you have to install Caffe with the cuDNN(-v5) library. # $AttractioNet: directory where AttractioNet will be cloned
git clone https://github.com/gidariss/AttractioNet $AttractioNet
```
From now on, the directory where *AttractioNet* is cloned will be called `$AttractioNet`.
3. Create a symbolic link of [Caffe](https://github.com/gidariss/caffe_LocNet/tree/AttractioNet) installatation directory at `$AttractioNet/external/caffe_AttractioNet`:
```Shell
# $AttractioNet: directory where AttractioNet is cloned
# $caffe_AttractioNet: directory where caffe is cloned and installed
ln -sf $caffe_AttractioNet $AttractioNet/external/caffe_AttractioNet
```
4. Open Matlab from the `$AttractioNet/` directory and run the `AttractioNet_build.m` script:
```Shell
$ cd $AttractioNet
$ matlab
# matlab command line enviroment
>> AttractioNet_build
```
Do not worry about the warning messages. They also appear on my machine.
5. Download the ***AttractioNet pre-trained model*** from [Google drive](https://drive.google.com/file/d/0BwxkAdGoNzNTV2N3RjN5dXNpWVE/view?usp=sharing) or [Mega](https://mega.nz/#!r90F3KJS!TM-slQgOF4OFWnVJrgZVr0S8aSn-f_s_IVFigbnMWrI). Note that the provided model is actually the fast version of AttractioNet model that is described on section 3.1.3 of the technical report. *It is trained on the COCO 2014 train set*. After downloading, unzip and untar the .tar.gz archive file with the AttractioNet model files on the directory `$AttractioNet/models-exps/AttractioNet_Model` by running:
```Shell
tar xvfz AttractioNet_Model.tar.gz -C $AttractioNet/models-exps/ DemoAfter having complete the installation, you will be able to use AttractioNet for extracting bounding box proposals from any image. For a demo see the demo_AttractioNet.m script. Note that you will require a GPU with at least 4 Gbytes of memory in order to run the demo. Downloading pre-computed bounding box proposalsWe provide pre-computed bounding box proposals using the same AttractioNet model we also provide here (trained on the COCO 2014 train set) for the following datasets: PASCAL VOC: MS-COCO: Each package contains the AttractioNet box proposals of the corresponding data set, stored using a separate box proposal file per image. Specifically, the box proposals of each image are stored in Matlab files (.mat files) using the same filenames as those that the images have. Each Matlab file contains a single data field, called boxes, that is a Preparing and using the COCO and PASCAL datasetsIn case you need to set up and use the COCO and/or PASCAL datasets (e.g. generating or evaluating AttractioNet proposals) then follow the instructions on the DATASET.md file. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论