栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

DGCNN(pytorch版本代码)调试

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

DGCNN(pytorch版本代码)调试

https://github.com/AnTao97/dgcnn.pytorch/blob/97785863ff7a82da8e2abe0945cf8d12c9cc6c18/data.py#L27

解决方法;

1.保证集群服务器联网(实验室的mobaxterm连服务器网老断,害得我老是重新联网)

2.修改链接中的代码data.py文件中的def download_modelnet40()

根据

https://github.com/charlesq34/pointnet/pull/124/files

修改:

        将os.system('wget %s --no-check-certificate; unzip %s' % (www, zipfile))
        
修改为
        os.system('wget --no-check-certificate %s; unzip %s' % (www, zipfile))

def download_shapenetpart():中的:
 

  os.system('wget %s --no-check-certificate; unzip %s' % (www, zipfile))
 修改为
       os.system('wget --no-check-certificate %s; unzip %s' % (www, zipfile))

因为出现了

sh: 1: wget: not found


Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)

这种错误,所以使用

https://stackoverflow.com/questions/64580344/error-bash-wget-command-not-found-visual-code-docker-terminal

链接中的解决办法进行调试

所以输入

root@12dda8ae96e4:/home# apt-get update
apt-get update这个命令

以及
root@12dda8ae96e4:/home# apt-get install wget

apt-get install wget 这个命令

因为出现了

sh: 1: unzip: not found

错误,所以

根据

https://www.digitalocean.com/community/questions/sudo-unzip-command-not-found

可以分别输入两命令

apt-get update
apt-get install zip unzip

在进行调试....

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/487652.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号