Skip to content

Commit

Permalink
README and pycoco
Browse files Browse the repository at this point in the history
  • Loading branch information
s-gupta committed Jun 1, 2015
1 parent 7fa1b4d commit 5d40cc9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Expand Up @@ -3,11 +3,14 @@ Code for detecting visual concepts in images.

#### Installation Instructions ####
0. Create directory, checkout code, caffe, coco-hooks

```shell
git clone git@github.com:s-gupta/im2cap.git code
git clone git@github.com:pdollar/coco.git coco
```

0. Make caffe and pycaffe

```shell
git clone git@github.com:s-gupta/caffe.git caffe
cd caffe
Expand All @@ -16,17 +19,19 @@ Code for detecting visual concepts in images.
make pycaffe
cd
```

0. Get the COCO images, caffe imagenet models, pretrained models on COCO.

``` shell
# Get the COCO images, splits, ground truth
wget http://www.cs.berkeley.edu/~sgupta/captions/data/data.tgz && tar -xf data.tgz
wget form_somewhere && tar -xf data.tgz

# Get the caffe imagenet models
wget http://www.cs.berkeley.edu/~sgupta/captions/data/caffe-data.tgz && tar -xf caffe-data.tgz
wget ftp://ftp.cs.berkeley.edu/pub/projects/vision/im2cap-cvpr15b/caffe-data.tgz && tar -xf caffe-data.tgz

# Get the pretrained models
wget http://www.cs.berkeley.edu/~sgupta/captions/data/pretrained-coco.tgz && tar -xf pretrained-coco.tgz

wget ftp://ftp.cs.berkeley.edu/pub/projects/vision/im2cap-cvpr15b/trained-coco.tgz && tar -xf trained-coco.tgz
```

#### Training, Testing the model ####
```cd code``` and execute relevant commands from the file scripts/scripts_all.py
``cd code`` and execute relevant commands from the file ``scripts/scripts_all.py``
1 change: 1 addition & 0 deletions pycoco

0 comments on commit 5d40cc9

Please sign in to comment.