V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
heureux
V2EX  ›  Python

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

  •  
  •   heureux · 2016-07-06 10:03:06 +08:00 · 1557 次点击
    这是一个创建于 2867 天前的主题,其中的信息可能已经有所发展或是发生改变。
    原文件如下:是 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...
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2714 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.