1 Star 0 Fork 0

Rukit/py-faster-rcnn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fetch_selective_search_data.sh 858 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ross Girshick 提交于 2017-04-04 00:00 +08:00 . update links
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
cd $DIR
FILE=selective_search_data.tgz
URL=https://dl.dropboxusercontent.com/s/orrt7o6bp6ae0tc/selective_search_data.tgz?dl=0
CHECKSUM=7078c1db87a7851b31966b96774cd9b9
if [ -f $FILE ]; then
echo "File already exists. Checking md5..."
os=`uname -s`
if [ "$os" = "Linux" ]; then
checksum=`md5sum $FILE | awk '{ print $1 }'`
elif [ "$os" = "Darwin" ]; then
checksum=`cat $FILE | md5`
fi
if [ "$checksum" = "$CHECKSUM" ]; then
echo "Checksum is correct. No need to download."
exit 0
else
echo "Checksum is incorrect. Need to download again."
fi
fi
echo "Downloading precomputed selective search boxes (0.5G)..."
wget $URL -O $FILE
echo "Unzipping..."
tar zxvf $FILE
echo "Done. Please run this command again to verify that checksum = $CHECKSUM."
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rukit/py-faster-rcnn.git
git@gitee.com:rukit/py-faster-rcnn.git
rukit
py-faster-rcnn
py-faster-rcnn
master

搜索帮助