SpatialLM icon indicating copy to clipboard operation
SpatialLM copied to clipboard

Difficulty reproducing zero-shot detection results with provided model

Open bkxmw opened this issue 1 year ago • 2 comments

Hello! Thank you for sharing this excellent work and model weights. I'm having some difficulty reproducing the zero-shot detection results reported in the paper on the SpatialLM-Testset dataset. When using SpatialLM1.1-Qwen-0.5B, I cannot achieve the performance metrics reported in the paper.

My reproduction results are as follows:

Image Image

The results reported in the paper are as follows: Image

My running command is:

python inference.py --point_cloud SpatialLM-Testset/pcd --output SpatialLM-Testset/pred --model_path manycore-research/SpatialLM1.1-Qwen-0.5B
python eval.py --metadata SpatialLM-Testset/test.csv --gt_dir SpatialLM-Testset/layout --pred_dir SpatialLM-Testset/pred --label_mapping SpatialLM-Testset/benchmark_categories.tsv

Are there any other parameters or configurations that need to be adjusted?

bkxmw avatar Oct 29 '25 06:10 bkxmw

Hi, Thank you for your effort in reproducing the results. Please note that the table in the paper reports [email protected], which corresponds to the middle column in your tables.

After reviewing your results, I think they are on par with the numbers reported in the paper. Since LLM inference involves some randomness in token sampling, it’s expected that each run will produce slightly different results. Overall, your reported numbers look reasonable to me — some categories are higher, some are lower, but the overall performance aligns with the paper’s results.

I hope this clarifies your concerns. Thank you.

SamMaoYS avatar Oct 30 '25 10:10 SamMaoYS

Thank you for your prompt and detailed response. After several attempts, I have successfully reproduced the results reported in the paper.

Image Image

I used an NVIDIA RTX 4090 GPU with the following modified parameters:

--inference_dtype float32
--seed 3407

All other parameters were kept unchanged.

bkxmw avatar Oct 31 '25 08:10 bkxmw