This github repository is an implementation of the AZ-Net detection method described in "Adaptive Object Detection Using Adjacency and Zoom Prediction"
Created by Yongxi Lu at University of California, San Diego.
If you find this useful, please consider citing
@article{lu2015adaptive,
title={Adaptive Object Detection Using Adjacency and Zoom Prediction},
author={Lu, Yongxi and Javidi, Tara and Lazebnik, Svetlana},
journal={arXiv preprint arXiv:1512.07711},
year={2015}
}
To install, use the following steps:
- Install Caffe and all its dependencies. Requirements for
Caffe
andpycaffe
(see: Caffe installation instructions)
Note: Caffe must be built with support for Python layers!
# In your Makefile.config, make sure to have this line uncommented
WITH_PYTHON_LAYER := 1
- Clone the AZ-Net repository. Make sure to use the
--recursive
flag
# Make sure to clone with --recursive
git clone --recursive https://github.com/luyongxi/az-net.git
-
Build the Cython modules
cd $ROOT/lib make
-
Build Caffe and pycaffe
cd $ROOT/caffe-fast-rcnn # Now follow the Caffe installation instructions here: # http://caffe.berkeleyvision.org/installation.html # If you're experienced with Caffe and have all of the requirements installed # and your Makefile.config in place, then simply do: make -j8 && make pycaffe
-
Fetch ImageNet models
cd $ROOT ./data/scripts/fetch_imagenet_models.sh
See
data/README.md
for details. -
To train and test models, use scripts in
$ROOT/experiments/scripts
You could obtain the pretrained models from the following link. https://drive.google.com/drive/folders/0B2pXYeQwL9mhMlo0ZUVYcU82Ylk?usp=sharing