Skip to content

Commit cf3c6ef

Browse files
committed
Fixes in Makefile and Readme
1 parent 27424ec commit cf3c6ef

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ This is a joint work of [Vadim Kantorov](http://vadimkantorov.com), [Maxime Oqua
2020
$ wigwam install torch hdf5 matio protobuf -DPATH_TO_NVCC="/path/to/cuda/bin/nvcc" -DPATH_TO_CUDNN_SO="/path/to/cudnn/lib64/libcudnn.so"
2121
$ wigwam install lua-rapidjson lua-hdf5 lua-matio lua-loadcaffe
2222
```
23-
2. Clone this repository and compile the ROI pooling module:
23+
2. Clone this repository, change the current directory to `contextlocnet`, and compile the ROI pooling module:
2424

2525
```
2626
$ git clone https://github.com/vadimkantorov/contextlocnet
27-
$ (cd ./contextlocnet/model && luarocks make)
27+
$ cd contextlocnet
28+
$ (cd ./model && luarocks make)
2829
```
29-
3. Download the [VOC 2007](http://host.robots.ox.ac.uk/pascal/VOC/voc2007/) dataset and Koen van de Sande's [selective search windows](http://koen.me/research/selectivesearch/) for VOC 2007 (optionally download the [VOC 2012](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/) and Rob Girshick's [selective search windows](https://github.com/rbgirshick/fast-rcnn/blob/master/data/scripts/fetch_fast_rcnn_models.sh)) and the [VGG-F](https://gist.github.com/ksimonyan/a32c9063ec8e1118221a) model:
30+
3. Download the [VOC 2007](http://host.robots.ox.ac.uk/pascal/VOC/voc2007/) dataset and Koen van de Sande's [selective search windows](http://koen.me/research/selectivesearch/) for VOC 2007 and the [VGG-F](https://gist.github.com/ksimonyan/a32c9063ec8e1118221a) model. Optionally download the [VOC 2012](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/) and Rob Girshick's [selective search windows](https://github.com/rbgirshick/fast-rcnn/blob/master/data/scripts/fetch_fast_rcnn_models.sh) by manually downloading [VOC 2012 test data tarball](http://host.robots.ox.ac.uk:8080/eval/downloads/VOC2012test.tar) to `data/common` and then running the second command):
3031

3132
```
3233
$ make -f data/common/Makefile download_and_extract_VOC2007 download_VGGF

data/common/Makefile

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@ DOWNLOADS = ./data/common
22

33
download_and_extract_VOC2007:
44
wget -P $(DOWNLOADS) \
5+
http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCdevkit_08-Jun-2007.tar \
56
http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar \
67
http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar \
7-
http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCdevkit_08-Jun-2007.tar \
88
http://koen.me/research/downloads/SelectiveSearchVOC2007trainval.mat \
99
http://koen.me/research/downloads/SelectiveSearchVOC2007test.mat
10-
cd $(DOWNLOADS) && for f in *.tar; do tar -xf $$f; done
10+
cd $(DOWNLOADS) && for f in VOCdevkit_08-Jun-2007.tar VOCtrainval_06-Nov-2007.tar VOCtest_06-Nov-2007.tar; do tar -xf $$f; done && mv VOCdevkit VOCdevkit_2007
1111

1212
download_and_extract_VOC2012:
1313
wget -P $(DOWNLOADS) \
14-
http://host.robots.ox.ac.uk:8080/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar \
15-
http://host.robots.ox.ac.uk:8080/eval/downloads/VOC2012test.tar \
1614
http://host.robots.ox.ac.uk:8080/pascal/VOC/voc2012/VOCdevkit_18-May-2011.tar \
15+
http://host.robots.ox.ac.uk:8080/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar \
1716
http://people.eecs.berkeley.edu/~rbg/fast-rcnn-data/selective_search_data.tgz
18-
cd $(DOWNLOADS) && for f in *.tar *.tgz; do tar -xf $$f; done
17+
cd $(DOWNLOADS) && for f in VOCdevkit_18-May-2011.tar VOCtrainval_11-May-2012.tar VOC2012test.tar selective_search_data.tgz; do tar -xf $$f; done && mv VOCdevkit VOCdevkit_2012
1918

2019
download_VGGF:
2120
wget -P $(DOWNLOADS) \

0 commit comments

Comments
 (0)