Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use Spconv 2.x instead of Spconv 1.2.1? #15

Open
Chinese-Coding opened this issue Jul 1, 2024 · 3 comments
Open

Can I use Spconv 2.x instead of Spconv 1.2.1? #15

Chinese-Coding opened this issue Jul 1, 2024 · 3 comments

Comments

@Chinese-Coding
Copy link

Chinese-Coding commented Jul 1, 2024

Can I use Spconv 2.x instead of Spconv 1.2.1?

Chinese

我注意到在您的README中,Spconv 这个库的2.x版本被加了一道删除线 (删除线)。而且对应章节下面并没有给出Spconv 2.x的安装方法。
然而我注意到您参考的项目OpenCOOD中安装教程中提到可以使用Spconv 2.x并且给出了安装方法
因为我之前是使用Spconv 2.x成功运行的OpenCOOD程序,并没有安装过Spconv 1.2.1的环境,所以我想问该项目是否可以使用Spconv 2.x的版本(因为这样可以省下学习如何安装Spconv 1.2.1的时间)。
如果您并没有再这个项目中使用过Spconv 2.x版本,那么我将做第一个吃螃蟹的人,并在这个issue下面给出我的结果。

English

I noticed that in your README, the 2.x version of the Spconv library was added with a strikethrough (strikethrough). And the corresponding section does not give the installation method of Spconv 2.x.
However, I noticed that the installation tutorial in the OpenCOOD project you referenced mentioned that Spconv 2.x can be used and the installation method is given.
Because I used Spconv 2.x to successfully run the OpenCOOD program before, and I have never installed Spconv 1.2.1, so I would like to ask if the project can use Spconv 2.x (because this can save time learning how to install Spconv 1.2.1).
If you have not used Spconv 2.x in this project, then I will be the first person to try it and give my results under this issue.

@Chinese-Coding
Copy link
Author

The answer is Yes ! (Only part model is tested)

Chinese

今天为有幸搭建了一下本项目的环境, 在安装 Spconv 时我使用了如下命令进行安装 (如果你使用的是 cuda 11.3, 这一点应该不成问题, 因为在环境搭建的第一步就指定好了 cuda 版本):

pip install spconv-cu113

这段命令参考了 OpenCOOD 的安装指导

我只是简单的运行了一下README中的 HEAL's Train Command, 可以正常运行, 如果有其他人尝试了其他模型可以在这个issuse下留言, 告诉我你的实验结果.

English

Today, I was lucky enough to build the environment for this project. When installing Spconv, I used the following command to install it (if you are using cuda 11.3, this should not be a problem, because the cuda version is specified in the first step of the environment setup):

pip install spconv-cu113

This command refers to the OpenCOOD installation guide

I just simply ran the HEAL's Train Command in the README, and it worked properly. If anyone else has tried other models, please leave a message under this issue and tell me your experimental results.

@yifanlu0227
Copy link
Owner

要注意一下两个版本的Checkpoint是不通用的

@yifanlu0227
Copy link
Owner

其实在写这个仓库代码的时候,我也把opencood对spconv 2.x的支持照抄了过来了。但我本地一直是1.2.1的版本,所以一直没有对2.x的功能进行测试,其他issue里面有人反映一些模型会报错,比如SECOND?如果您在使用2.x的过程中发现里面code有bug,非常欢迎提交PR,你也会成为一个contributor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants