DGCNN(pytorch版本代码)调试

DGCNN(pytorch版本代码)调试,第1张

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

在进行调试....

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5479790.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-12
下一篇 2022-12-12

发表评论

登录后才能评论

评论列表(0条)

保存