xboundformer icon indicating copy to clipboard operation
xboundformer copied to clipboard

About multi target per image

Open wanghr-git opened this issue 2 years ago • 4 comments

Hi, I have a lot of admiration for your excellent work. Notice that in the images in the example in your article, each image has only one target, have you tried the situation where there are multiple targets in one image, how is the effect? Will multiple targets affect the "Boundary Key-Point Map Generator"?

wanghr-git avatar Jun 05 '22 08:06 wanghr-git

Hi, thanks for your appreciation. Actually, this code is designed for targets with a single class only. However, it can be re-produced for multi-class segmentation by: (1) generating the map for each class and merging all maps into one for attention and boundary-aware supervision. (2) changing the prediction head

jcwang123 avatar Jun 05 '22 10:06 jcwang123

Hi, thanks for your appreciation. Actually, this code is designed for targets with a single class only. However, it can be re-produced for multi-class segmentation by: (1) generating the map for each class and merging all maps into one for attention and boundary-aware supervision. (2) changing the prediction head

Thank you for your reply.Sorry for not expressing my meaning well. In fact, what I mean is that there is only one object region per image in your dataset. If there are multiple objects of the same class in an image, will your model be affected, e.g. image

wanghr-git avatar Jun 06 '22 03:06 wanghr-git

hah, I got it. In this case, the generation will be affected. But the major goal to find the most ambiguous points through the segmentation map can be borrowed, i.e., the corners in this map you present. It may be helpful~

jcwang123 avatar Jun 06 '22 05:06 jcwang123

hah, I got it. In this case, the generation will be affected. But the major goal to find the most ambiguous points through the segmentation map can be borrowed, i.e., the corners in this map you present. It may be helpful~

Thank you so much for such a quick reply, my problem has been solved.Best wishes!

wanghr-git avatar Jun 06 '22 06:06 wanghr-git