KITTI数据集wget下载operation timed out
报错:
在拥有🪜的情况下,在终端wget wget -i kitti_archives_to_download.txt -P $SAVE_ROOT
报错:正在连接 s3.eu-central-1.amazonaws.com (s3.eu-central-1.amazonaws.com)|202.160.130.118|:443... 失败:Operation timed out。
再尝试了wget --timeout 500 -i kitti_archives_to_download.txtwget -nc -i kitti_archives_to_download.txtwget --no-cookie --no-check-certificate -i kitti_archives_to_download.txt
依然存在同样的错误。
解决原因:
虽然开了全局代理,但Mac终端默认命令不走代理,因此需要设置:export http_proxy=http://proxyAddress:port
比如:export http_proxy="http://127.0.0.1:1080"export https_proxy="http://127.0.0.1:1080"
这个命令只对当前终端窗口有效。如果想要永久保存则直接在 .bashrc 或者 .zshrc 添加上述两行命令并且source ~/.bashrc

浙公网安备 33010602011771号