hkchengrex / Mask-Propagation

[CVPR 2021] MiVOS - Mask Propagation module. Reproduced STM (and better) with training code :star2:. Semi-supervised video object segmentation evaluation.
https://hkchengrex.github.io/MiVOS/
MIT License
127 stars 22 forks source link

Confusion about Fig.6 #44

Closed csustYyh closed 1 year ago

csustYyh commented 1 year ago

I apologize for bothering you. Is Figure 6 generated by compiling relevant data from multiple video sequences, calculating their mean and interquartile range, and then plotting them? If so, could you please specify which dataset's video sequences you used? image

hkchengrex commented 1 year ago

We used all sequences in the validation set. Some sequences are not as long so we drop them from the statistics computation once they reached their end frames.

csustYyh commented 1 year ago

Thank you for clearing up my confusion. Best wishes!

csustYyh commented 1 year ago

Sorry for bothering again. When calculating mIoU, is the probability map used or the results after applying argmax? image

hkchengrex commented 1 year ago

After. I am not sure why/how to do it before argmax.

csustYyh commented 1 year ago

I apologize for my shallow question. Because I found that during the training process of STCN, probability maps are used to calculate IoU. image image image I think that I confused training with inferencing. Thanks for your kind anwser, I am a rookie in VOS, sometimes I appear a bit awkward. If the calculation is based on the results after applying argmax, can I save the test results and then write a script to calculate the mIoU between the test results and ground truth?

hkchengrex commented 1 year ago

Don't worry about it :) During training sometimes "soft IoU" might be used so that gradient can pass through. In the STCN code that you posted though, a threshold is used so "hard IoU" is computed anyway. For actual evaluation, we almost always use "hard IoU", I believe.

If the calculation is based on the results after applying argmax, can I save the test results and then write a script to calculate the mIoU between the test results and ground truth?

Yes.

csustYyh commented 1 year ago

Thank you very very very much for your guidance, I've gained a lot from it. I have great admiration for you. Wishing you happiness every day! ^ ^