SpatialLM icon indicating copy to clipboard operation
SpatialLM copied to clipboard

train

Open cyfcyfff opened this issue 1 year ago • 10 comments

你好,非常感谢公开训练代码 但是我在运行训练的时候总是提示点云数据缺失,是否是公开的训练数据集有误还是说是我的操作不当呢?我是完全按照训练的文档来下载和解压数据集的。 RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: pcd/47331622.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/41159704.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/43828253.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/42899245.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/47331146.ply W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123495 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123496 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123497 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123499 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123500 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123501 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123502 closing signal SIGTERM E0717 08:05:45.767000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:833] failed (exitcode: 1) local_rank: 3 (pid: 123498) of binary: /opt/conda/envs/spatiallm/bin/python Traceback (most recent call last): File "/opt/conda/envs/spatiallm/bin/to

cyfcyfff avatar Jul 17 '25 08:07 cyfcyfff

Hi, 请问是多机器的多节点训练吗 默认给的example 读取的路径是 ./arkitscenes-spatiallm/pcd/xxx.ply 如果是多节点训练需要修改路径让所有的节点都可以访问。 路径设置是:在config dataset_dir中。

你可以尝试debug看看 load ply的路径是否有误:spatiallm/tuner/data/mm_plugin.py

SamMaoYS avatar Jul 18 '25 02:07 SamMaoYS

There are some missing ply files in the provided arkitscenes-spatiallm dataset.

iammarvelous avatar Jul 18 '25 03:07 iammarvelous

我是单机器训练的

There are some missing ply files in the provided arkitscenes-spatiallm dataset. 我和这位兄弟一样也是觉得是有文件确实。不知能否劳烦作者检查一下提供的数据集是否有纰漏

cyfcyfff avatar Jul 18 '25 03:07 cyfcyfff

我是在config文件夹中的yaml修改了dataset_dir这一参数的路径

cyfcyfff avatar Jul 18 '25 03:07 cyfcyfff

我的设置如下,是否dataset的路径也要修改,需要修改的话是要在哪里找到这个路径呢?: dataset: arkitscenes_train # arkitscenes_train,arkitscenes_val dataset_dir: /cache/dataset-0/arkitscenes-spatiallm # arkitscenes-spatiallm

cyfcyfff avatar Jul 18 '25 04:07 cyfcyfff

dataset 应该是不需要修改的,dataset指明的是dataset_info.json 的key value

SamMaoYS avatar Jul 18 '25 07:07 SamMaoYS

@iammarvelous thank you for the feedback, do you have some insight of what files are missing in the dataset, I will try to fix that.

SamMaoYS avatar Jul 18 '25 07:07 SamMaoYS

@SamMaoYS Seems there are 255 missing ply files.

(base) ➜  arkitscenes-spatiallm ls pcd/*.ply | wc -l
4792
(base) ➜  arkitscenes-spatiallm cat arkitscenes_*.json | grep ply | wc -l
5047

iammarvelous avatar Jul 18 '25 17:07 iammarvelous

Hi, the point cloud data and the extraction script is updated. Now it should have all the ply files. Let me know if you encounter any new issues. Thanks.

SamMaoYS avatar Jul 19 '25 08:07 SamMaoYS

看dev分支

---- Replied Message ---- | From | @.> | | Date | 07/21/2025 10:36 | | To | manycore-research/SpatialLM @.> | | Cc | sjbjcbd @.>, Author @.> | | Subject | Re: [manycore-research/SpatialLM] train (Issue #70) | jianmanlincjx left a comment (manycore-research/SpatialLM#70)

你好,非常感谢公开训练代码 但是我在运行训练的时候总是提示点云数据缺失,是否是公开的训练数据集有误还是说是我的操作不当呢?我是完全按照训练的文档来下载和解压数据集的。 RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: pcd/47331622.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/41159704.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/43828253.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/42899245.ply RPly: Unable to open file [Open3D WARNING] Read PLY failed: unable to open file: arkitscenes-spatiallm/pcd/47331146.ply W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123495 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123496 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123497 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123499 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123500 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123501 closing signal SIGTERM W0717 08:05:45.352000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 123502 closing signal SIGTERM E0717 08:05:45.767000 140067336124224 torch/distributed/elastic/multiprocessing/api.py:833] failed (exitcode: 1) local_rank: 3 (pid: 123498) of binary: /opt/conda/envs/spatiallm/bin/python Traceback (most recent call last): File "/opt/conda/envs/spatiallm/bin/to

您好,请问训练代码是在哪里找到的呀,我在GitHub上好像没有找到

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cyfcyfff avatar Jul 21 '25 03:07 cyfcyfff