shenyunhang / PDSL

Parallel Detection-and-Segmentation Learning for Weakly Supervised Instance Segmentation
https://github.com/shenyunhang/PDSL/tree/PDSL/projects/WSL
Apache License 2.0
5 stars 4 forks source link

Is there a problem with the gt generated by the code? #2

Open tohsakask opened 2 years ago

tohsakask commented 2 years ago

Hi~ I found that there is a difference between the gt generated by the code and the official one provided by VOC.

shenyunhang commented 2 years ago

The gt is converted from binary mask to polygon segmentation. It may have slightly differences, but will not have large impact on performance.

tohsakask commented 2 years ago

The gt is converted from binary mask polygon. It may have slightly differences, but will not have large impact on performance.

But I found it has a large impact on performance, for LIID, mAP50: 48.4 -> 52.1, for IRnet mAP50: 46.7 -> 50.5.

image

shenyunhang commented 2 years ago

But I found it has a large impact on performance, for LIID, mAP50: 48.4 -> 52.1, for IRnet mAP50: 46.7 -> 50.5.

Can you explan how to get those results in details?

Maybe you can visualize the gts before and after conversion.

For fully supervised learning, binary mask and polygon segmentation formats in detectron2 have simmilar performances, so I think they should have simmilar results in weakly supervsed learning.

tohsakask commented 2 years ago

But I found it has a large impact on performance, for LIID, mAP50: 48.4 -> 52.1, for IRnet mAP50: 46.7 -> 50.5.

Can you explan how to get those results in details?

Maybe you can visualize the gts before and after conversion.

For fully supervised learning, binary mask and polygon segmentation formats in detectron2 have simmilar performances, so I think they should have simmilar results in weakly supervsed learning.

I just tested the same detection result with two different GT's based on COCO API.

I will visualize the gts before and after conversion. Maybe I had done something wrong.