SegmentAnythingin3D icon indicating copy to clipboard operation
SegmentAnythingin3D copied to clipboard

Evaluation scripts

Open Zhao-Yian opened this issue 1 year ago • 8 comments

Can evaluation scripts be provided on different datasets to validate the quantitative results provided in the paper?

Zhao-Yian avatar Jun 14 '24 05:06 Zhao-Yian

Hi, the evaluation script is incompatible with this GUI version, which has gone through code refactoring and abandoned many interface for evaluation.

The evaluation mainly involves loading different datasets like SPIN and NVOS, while the metric (IoU) calculation is relatively easy. We may re-write it in the future.

Jumpat avatar Jun 14 '24 10:06 Jumpat

Thanks!

Zhao-Yian avatar Jun 14 '24 16:06 Zhao-Yian

Sorry to ask again, which reference views and target views are used for evaluation on the SPIn-NeRF dataset? What was the basis for the selection?

Zhao-Yian avatar Jun 15 '24 03:06 Zhao-Yian

Hi, the reference view is set to the first frame of the sorted views. However, the method is robust to reference view selection since the segmentation target is relatively simple.

Jumpat avatar Jun 15 '24 08:06 Jumpat

Thank you very much for your answer. May I ask if the target views used for evaluation are all views except the first frame? And the IoU of each scene is the average IoU of these target views?

Zhao-Yian avatar Jun 15 '24 15:06 Zhao-Yian

No, the target views include the reference view generally. Since though the reference view has gt mask for reference, the segmentation cannot ensure the final result align with the initial 2D mask. It is still meaningful to check whether the reference view is segmented properly.

The IoU score is calculated across all views, not (IoU_1+...+IoU_N) / N. There is a little difference since (a/b+c/d)/2 != (a+c) / (b+d). We use the latter implementation.

Jumpat avatar Jun 16 '24 06:06 Jumpat

Thank you very much for your answer!

Zhao-Yian avatar Jun 17 '24 02:06 Zhao-Yian

How can I get GT Masks of all the views? I only find the GT mask of reference view in NVOS dataset.

hkxiao avatar Nov 25 '24 09:11 hkxiao