Ubuntu20.04复现跑通Swin3D、Swin3D_Task(均为微软发布)

GitHub地址: 

GitHub - Yukichiii/Swin3D_Task: The Experiment Code for Swin3Dhttps://github.com/Yukichiii/Swin3D_Task?tab=readme-ov-filehttps://github.com/Yukichiii/Swin3D_Task?tab=readme-ov-fileGitHub - microsoft/Swin3D: A shift-window based transformer for 3D sparse taskshttps://github.com/microsoft/Swin3D?tab=readme-ov-filehttps://github.com/microsoft/Swin3D?tab=readme-ov-file本地环境:python:3.10 cuda:12.1 torch:2.5.1

1.阅读readme文档按顺序执行相关命令

2.在安装需求库MinkowskiEngine==0.5.4,出现问题

解决方案参考本人另外一篇文章ubuntu20.04安装MinkowskiEngine教程及踩坑指南-CSDN博客https://blog.csdn.net/m0_49860814/article/details/145494954?spm=1001.2014.3001.5502https://blog.csdn.net/m0_49860814/article/details/145494954?spm=1001.2014.3001.5502

3. ERROR: No matching distribution found for scipy==1.6.3

ERROR: Ignored the following yanked versions: 1.11.0, 1.14.0rc1
ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement scipy==1.6.3 (from versions: 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.7.2, 1.7.3, 1.8.0rc1, 1.8.0rc2, 1.8.0rc3, 1.8.0rc4, 1.8.0, 1.8.1, 1.9.0rc1, 1.9.0rc2, 1.9.0rc3, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0rc1, 1.10.0rc2, 1.10.0, 1.10.1, 1.11.0rc1, 1.11.0rc2, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.13.0rc1, 1.13.0, 1.13.1, 1.14.0rc2, 1.14.0, 1.14.1, 1.15.0rc1, 1.15.0rc2, 1.15.0, 1.15.1)
ERROR: No matching distribution found for scipy==1.6.3

解决方案:在错误提示中可以匹配的版本中选择一个下载,我这里选择的是1.7.3

4.S3DIS数据准备以及预处理:

依据

(1)根据GitHub - yanx27/Pointnet_Pointnet2_pytorch: PointNet and PointNet++ implemented by pytorch (pure python) and on ModelNet, ShapeNet and S3DIS.https://github.com/yanx27/Pointnet_Pointnet2_pytorch

 中的准备流程处理数据集(其中直接从here获取数据集失败,我采用(2)中链接下载)

(2)下载原始数据集Index of /s3dis

(3)根据流程处理结束数据集后,数据集结构为

4.由于我的cuda版本下载的torch版本与需求文档中不符合,直接pip包的版本一直冲突,最终我将需求文档改为下图版本

5.修改配置文件中数据集地址及相关参数进行训练

6. ‘CHECK_LT’ was not declared in this scope; did you mean ‘CHECK’?

解决方法:将所有待编译的源文件中的‘AT_CHECK’全部替换为‘TORCH_CHECK’

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值