SpatialLM icon indicating copy to clipboard operation
SpatialLM copied to clipboard

Would it be possible to perform fine-tuning?

Open miladfa7 opened this issue 1 year ago • 8 comments

Hello, Thanks for the great job!

Would it be possible to perform fine-tuning on my custom dataset? If I want to train it on my dataset, how can I do that?

miladfa7 avatar Mar 20 '25 19:03 miladfa7

Hello, Thanks for the great job!

Would it be possible to perform fine-tuning on my custom dataset? If I want to train it on my dataset, how can I do that?

Yes please

satheesh-aiprof avatar Mar 21 '25 02:03 satheesh-aiprof

Hi, Thank you for your interest! Here is a related issue: #3 We currently do not have plans to release the training code. However, you can adapt our code to popular LLM/VLM tuning pipelines, as the process is quite similar to training or fine-tuning VLMs.

SamMaoYS avatar Mar 21 '25 05:03 SamMaoYS

Hi, Thank you for your interest! Here is a related issue: #3 We currently do not have plans to release the training code. However, you can adapt our code to popular LLM/VLM tuning pipelines, as the process is quite similar to training or fine-tuning VLMs.

Thanks for the reply.

satheesh-aiprof avatar Mar 21 '25 05:03 satheesh-aiprof

Hi, Thank you for your interest! Here is a related issue: #3 We currently do not have plans to release the training code. However, you can adapt our code to popular LLM/VLM tuning pipelines, as the process is quite similar to training or fine-tuning VLMs.

Thank you so much. Could you please provide more details on the steps I need to follow? It's not clear to me Another question: Would it be possible to use your pretrained model and inference on the SUN RGB-D or ScanNet dataset without fine-tuning? If yes how we can do similar visualization as you did?

miladfa7 avatar Mar 21 '25 11:03 miladfa7

@SamMaoYS The model is really great, but some better instructions on how to fine tune it would be greatly appreciated. There are many people in different industries looking for solutions like that, and a clear way of adjusting the model to custom datasets would greatly help elevate the interest in this! I'm very open to helping out on documenting this if you could give us a little bit more to go on.

karol-jedruszek avatar Mar 25 '25 11:03 karol-jedruszek

Thank you for your interest, since we are not releasing the training code, I think it will be hard for us to come up with a documentaiton for finetuning, as the training framework may vary based on the choice.

For custom datasets, given the input point cloud, and the GT layout, the finetuning process should be relatively straight forward. As our pipeline is quite simple. And the process is quite similar to do the inferencing.

The training/finetuning for custom datasets is more related to the design of the dataloader, as different datasets/point_couds will have different format, it will also be hard for us to say how to design your own dataloaders.

SamMaoYS avatar Mar 26 '25 03:03 SamMaoYS

@SamMaoYS Thank you for your explanation.

miladfa7 avatar Mar 26 '25 05:03 miladfa7

Hi @miladfa7, @satheeshkola-532, @karol-jedruszek, the finetuning code and instructions just been released on dev branch, check out issue #66 if you are interested.

SamMaoYS avatar Jun 24 '25 08:06 SamMaoYS