SpatialLM icon indicating copy to clipboard operation
SpatialLM copied to clipboard

SpatialLM-Test的结果

Open lu-sir188 opened this issue 1 year ago • 9 comments

Image 请问这是什么原因SpatialLM-Test的结果跑出来坐标框不对,transformers 的版本安装的是4.56.1

lu-sir188 avatar Nov 16 '25 10:11 lu-sir188

I have the exact same problem. Downloaded 2 days ago.

it2107 avatar Nov 18 '25 17:11 it2107

Hi, maybe it is the transformers version is mismatched with the requirements: transformers = ">=4.41.2,<=4.46.1". And also can be the rerun version need to be rerun-sdk = "^0.21.0", as the code does not support higher version of the rerun. Can you reinstall the environment as specified in the README instructions, and let me know if the problem still exists.

SamMaoYS avatar Nov 19 '25 08:11 SamMaoYS

你好,将rerun-sdk = "0.25.1"改为rerun-sdk = "^0.21.0"后会出现如下报错

Image

lu-sir188 avatar Nov 19 '25 10:11 lu-sir188

你好,我看代码里没有set_time而是 rr.set_time_seconds("time_sec", ti * seconds) https://github.com/manycore-research/SpatialLM/blob/029808be90daef80cf2b850e254716ca7d64254f/visualize.py#L78

SamMaoYS avatar Nov 19 '25 10:11 SamMaoYS

非常感谢您的回答,刚刚改好可以运行出来可视化界面,但是出现了错位请问是什么原因导致的

Image

lu-sir188 avatar Nov 19 '25 10:11 lu-sir188

emmm, 这个点云和txt是匹配的吗,inference有一个shift的步骤。 https://github.com/manycore-research/SpatialLM/blob/029808be90daef80cf2b850e254716ca7d64254f/inference.py#L321

SamMaoYS avatar Nov 19 '25 10:11 SamMaoYS

您好,点云和txt是匹配的,inference.py里也有layout.translate(min_extent) 刚刚试了一下,还是那个情况

Image Image

lu-sir188 avatar Nov 19 '25 11:11 lu-sir188

我重新试了一下,我这边效果没什么问题,没能复现你所说的错误。能不能描述一下你是怎么follow README里clone repo,安装的这些细节,有没有什么不一样的操作,来帮助我们排查为什么会出现你所遇到的问题。

SamMaoYS avatar Nov 19 '25 16:11 SamMaoYS

非常感谢您的回答,成功复现Image

lu-sir188 avatar Nov 20 '25 09:11 lu-sir188