点云数据下载wget出现unsupported scheme(win10系统)

一、问题

1.加载点云数据代码

wget 访问https 出现unsupported scheme 问题
# Download dataset for point cloud classification
DATA_DIR = os.path.join(BASE_DIR, 'data')
if not os.path.exists(DATA_DIR):
    os.mkdir(DATA_DIR)
if not os.path.exists(os.path.join(DATA_DIR, 'modelnet40_ply_hdf5_2048')):
    www = 'https://shapenet.cs.stanford.edu/media/modelnet40_ply_hdf5_2048.zip'
    zipfile = os.path.basename(www)
    os.system('wget --no-check-certificate %s ; unzip %s' % (www, zipfile))
    os.system('mv %s %s' % (zipfile[:-4], DATA_DIR))
    os.system('rm %s' % (zipfile))

若–no-check-certificate仍不能解决问题,见第2点

2.解决方案

(1)下载链接:https://eternallybored.org/misc/wget/
下载exe文件
(2)利用下载的wget.exe文件覆盖C:\System32\wget.exe(原因:版本问题)

参考链接:https://blog.51cto.com/bluethink/1126206
https://www.cnblogs.com/hzdx/p/6432161.html
https://jingyan.baidu.com/article/6b1823098e049aba58e15921.html

  • 6
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值