最近在学习 image tagging 的问题,获取模型时使用 wget 链接网址超时的问题,请教各位大神,不知道能不能我自己下好解压

2016-07-06 10:03:06 +08:00
 heureux
原文件如下:是 get_word2vec_model.sh 文件。
source common.ini

if [ ! -d "$rootpath" ]; then
echo "rootpath $rootpath does not exit"
exit
fi


DIR="$( cd "$(dirname "$0")" ; pwd -P )"
cd $DIR

echo "Downloading..."

wget http://www.mmc.ruc.edu.cn/research/hierse/flickr4m.word2vec.tar.gz

echo "Unzipping..."

tar -xf flickr4m.word2vec.tar.gz -C $rootpath && rm -f flickr4m.word2vec.tar.gz

echo "Done."

出错结果如下:
f@f-Lenovo:~/workspace/zero-shot/hierse-master$ ./get_word2vec_model.sh
Downloading...
--2016-07-06 10:03:28-- http://www.mmc.ruc.edu.cn/research/hierse/flickr4m.word2vec.tar.gz
Resolving www.mmc.ruc.edu.cn (www.mmc.ruc.edu.cn)... 202.112.113.27
Connecting to www.mmc.ruc.edu.cn (www.mmc.ruc.edu.cn)|202.112.113.27|:80... failed: Connection timed out.
Retrying.

--2016-07-06 10:05:36-- (try: 2) http://www.mmc.ruc.edu.cn/research/hierse/flickr4m.word2vec.tar.gz
Connecting to www.mmc.ruc.edu.cn (www.mmc.ruc.edu.cn)|202.112.113.27|:80...
1561 次点击
所在节点    Python
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/290565

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX