dbolya / yolact

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

why the result of detection(masks) is semantic segmentation, I would like to have instance segmenentation #394

Open jediofgever opened 4 years ago

jediofgever commented 4 years ago

Hi,

I have trained network with my own data, using yolact_plus , my data only have one type of object, when i run network on webcam, it does detect objects but it overlays same color onto all detected objects, meaning that it is doing semantic segmentation, when I receive the masks as tensors, for example if I have 3 objects in image the masks tensor is ; (3,540,960,1) this looks correct but the content of each tensor element is identical whereas each element should include only mask of one object. sorry if it is confusing but I needs some help at this point

dbolya commented 4 years ago

There may be an issue either with your training data or the model. YOLACT because of how it's designed can have an issue with overlap, but that's usually not that big of a deal. Do you get the same overlaps when using the pretrained model? And, can you check your data to see if it's proper instances?

shivani21998 commented 2 years ago

@dbolya I'm facing the same issue. I use the pretrained model on coco to detect giraffe in video. It gives the same mask color for all instances of the object instead of different colors. This is not the case for images. (Ex image for cat added) 2338b93c-d0c9-447a-97fb-8763873e225d

Capture