SpatialLM icon indicating copy to clipboard operation
SpatialLM copied to clipboard

OOM

Open Archer492 opened this issue 10 months ago • 5 comments

Hi @SamMaoYS ,Why still out of memory when train MLP only? I use 2 4090 GPUs.

Archer492 avatar Jan 13 '26 06:01 Archer492

For the SpatialLM1.1 version with Sonata Encoder, the point cloud resolution is doubled compared to 1.0, so the memory requirement is higher. You can try use pure bf16, deepspeed, or other tools to reduce the memory usage during training.

SamMaoYS avatar Jan 20 '26 15:01 SamMaoYS

For the SpatialLM1.1 version with Sonata Encoder, the point cloud resolution is doubled compared to 1.0, so the memory requirement is higher. You can try use pure bf16, deepspeed, or other tools to reduce the memory usage during training.

Thank you for your reply. I have another question: I am going to fine-tune using my own data, but my coordinates are in voxel coordinates. Do I need to convert them to world coordinates? It seems that the code automatically converts them back to the original coordinates.

Archer492 avatar Jan 27 '26 03:01 Archer492

I think you should convert them to world coordinates in meters. As the xyz are feature inputs for the point cloud encoder.

SamMaoYS avatar Feb 02 '26 11:02 SamMaoYS

Thank you very much for your help. The issue with the coordinates has been resolved. However, after training with my own data, I found that during inference, it can only predict the classes that appeared in the training set, and specifying other classes during inference has no effect. How can I solve this problem?

Archer492 avatar Feb 04 '26 03:02 Archer492

I think it is the limitation of this method, it cannot work on open vocab, but only things observed in the training set.

SamMaoYS avatar Feb 04 '26 04:02 SamMaoYS