Trace3D icon indicating copy to clipboard operation
Trace3D copied to clipboard

Reproduction Discrepancy on Replica Dataset (Office_0: mIoU 64.87)

Open tehMazz opened this issue 1 year ago • 4 comments

I’m trying to reproduce the results from your paper on the Replica dataset on the 3d object extraction task. I downloaded the scenes from the Dropbox link you provided, used Sequence_1 for all the scenes, and ran your code without any modifications.

For the office_0 scene, I obtained the following results:

office_0: mIoU 64.87 mAcc 68.69 mPNSR 24.17 Scene_IOU 0.78851318359375 output/Replica_Dataset/office_0/split/chkpnt/sp_20000.pth

However, the reported mIoU (64.87) is notably lower than the 80.7 stated in the paper. Do you have any idea what might cause this discrepancy?

I am getting tonight the results of the other scenes.

Thanks in advance for your time and any insights you can share!

tehMazz avatar Oct 10 '25 21:10 tehMazz

This discrepancy is very likely caused by incorrect GT mask loading.

If you followed the dataset-loading approach mentioned in issue #3, it may lead the code to load the wrong ground-truth masks. Once the GT masks are semantic masks, the evaluation metrics (mIoU / mAcc / mPNSR) will drop a lot — exactly like what you observed.

Could you please check whether this is the case on your side?

shy2000 avatar Nov 19 '25 08:11 shy2000

office_0: mIoU 67.35 mAcc 68.92 mPNSR 25.64 Scene_IOU 0.843661904335022 ./output/replica/office_0/Sequence_1/split/chkpnt/sp_20000.pth

I use your "Replica_Instance_Segmentation.zip" at "gt_seg_path= os.path.join(input_folder , "semantic_instance",f"semantic_instance_{idx}.png")",but the results are also terrible.

luzhiyuan25 avatar Dec 04 '25 13:12 luzhiyuan25

I first evaluated the original checkpoint used in the paper, and the results are consistent with the numbers reported in the paper. I also retrained the model from scratch under the same settings and evaluated it again. office_0: mIoU 76.94 mAcc 78.64 mPNSR 27.82 Scene_IOU 0.9007031917572021 ./output-test/replica_900/office_0/split_new/chkpnt/sp_20000.pth The performance is slightly lower than the reported results, but the gap is much smaller than what you observed. I can provide both checkpoints for reference. You may want to check whether there are any differences in the evaluation process? https://drive.google.com/drive/folders/1YDCEbcDUShC_ooT4a2HsmiFJ7011mmGr?usp=drive_link

shy2000 avatar Jan 27 '26 06:01 shy2000

Hi, thanks for releasing the code!

We tried to reproduce the Replica 3D object extraction results by running the official pipeline in script/replica.sh. Results (output of evaluation/eval_3d.py, checkpoint split/chkpnt/sp_20000.pth)

Scene mIoU (ours) mIoU (paper, Table 2) mAcc mPNSR Scene_IOU
room_0 65.93 67.0 69.43 19.30 0.883
office_3 65.12 69.8 67.71 18.78 0.900

guiyuliu avatar Nov 05 '26 21:11 guiyuliu