Skip to content

Commit

Permalink
update fetch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgirshick committed Apr 29, 2015
1 parent 3e5f1b6 commit d30beb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
11 changes: 4 additions & 7 deletions data/scripts/fetch_fast_rcnn_models.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../data" && pwd )"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
cd $DIR

FILE=fast_rcnn_models.tgz
# TODO
URL=
# TODO
CHECKSUM=
URL=http://www.cs.berkeley.edu/~rbg/fast-rcnn-data/fast_rcnn_models.tgz
CHECKSUM=5f7dde9f5376e18c8e065338cc5df3f7

if [ -f $FILE ]; then
echo "File already exists. Checking md5..."
Expand All @@ -25,8 +23,7 @@ if [ -f $FILE ]; then
fi
fi

# TODO
echo "Downloading precomputed selective search boxes (1.8G)..."
echo "Downloading Fast R-CNN demo models (0.96G)..."

wget $URL -O $FILE

Expand Down
6 changes: 3 additions & 3 deletions data/scripts/fetch_imagenet_models.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../data" && pwd )"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
cd $DIR

FILE=imagenet_models.tgz
URL=https://www.dropbox.com/s/22it3se7e4zi2mi/imagenet_models.tgz?dl=0
CHECKSUM=66dbfdf04297e1e68b49f168a2ccc59d
URL=http://www.cs.berkeley.edu/~rbg/fast-rcnn-data/imagenet_models.tgz
CHECKSUM=8b1d4b9da0593fc70ef403284f810adc

if [ -f $FILE ]; then
echo "File already exists. Checking md5..."
Expand Down
6 changes: 3 additions & 3 deletions data/scripts/fetch_selective_search_data.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../data" && pwd )"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
cd $DIR

FILE=selective_search_data.tgz
URL=https://www.dropbox.com/s/g1z7iolrtxdo56c/selective_search_data.tgz?dl=0
CHECKSUM=7cc85568609e1ac645f102c37eb376c3
URL=http://www.cs.berkeley.edu/~rbg/r-cnn-release1-selective-search.tgz
CHECKSUM=6cf6df219c1e514f64482f11d00bd0b4

if [ -f $FILE ]; then
echo "File already exists. Checking md5..."
Expand Down

0 comments on commit d30beb6

Please sign in to comment.