WHU-USI3DV / Mobile-Seed

[IEEE RAL'24 & IROS'24] Mobile-Seed: Joint Semantic Segmentation and Boundary Detection for Mobile Robots
https://whu-usi3dv.github.io/Mobile-Seed/
BSD 2-Clause "Simplified" License
120 stars 2 forks source link

about Calculate the BIoU #10

Closed zhangxin253675 closed 4 months ago

zhangxin253675 commented 4 months ago

作者您好,感谢您出色的工作! 我们在复现您的代码时,发现计算得到的BIoU只得到了aAcc的值,并没有得到BIoU的值:

我们使用的命令为: $ python tools/test.py ./configs/Mobile_Seed/MS_tiny_cityscapes.py /home/meiguiz/Downloads/Mobile-Seed/work_dirs/MS_tiny_cityscapes/ours_TROSD/best.pth --eval mBIoU

得到的结果为 截图1

请问您是怎么样计算BIoU的呢?

martin-liao commented 4 months ago

Thanks for your interest. I will check it later.

martin-liao commented 4 months ago

Hello! I have fixed the error in the BIoU metric. You could calculate the BIoU metric with following script: bash tools/dist_test.sh ./configs/Mobile_Seed/MS_tiny_cityscapes.py /path/to/checkpoint_file.pth 1 --eval mBIoU

martin-liao commented 4 months ago

The evaluation results (threshold=3px) should be close to : Screenshot from 2024-06-12 09-56-54

martin-liao commented 4 months ago

Since the problem has been resolved, I will close the issue.