dbolya / yolact

A simple, fully convolutional model for real-time instance segmentation.
MIT License
5.01k stars 1.32k forks source link

poor mask performance when overlapping box #599

Open liminn opened 3 years ago

liminn commented 3 years ago

@dbolya Hi, I use yolact++ to perform handwriting circle instance segmentation. After training, my custom benchmark metric is:

When the circle is isolated, the prediction results is right. But when prediction box is overlapping, the prediction instance mask performance is poor, for example:

截屏2021-01-27 下午8 00 29 截屏2021-01-27 下午8 01 00 截屏2021-01-27 下午8 00 46

Compared with the original config, I only modify:

'augment_expand': False, #True, 
'discard_mask_area': -1, #5*5,

By the way, I use the RLE to encode the instance mask, so I ensure my instance mask training label is right.

Kasdision commented 3 years ago

Hi,when you try your own data, have you changed the pred_scales and pred_aspect_ratios for the box or anything else? Cause it looks like something wrong in the config file.