Open funny000 opened 1 week ago
Hi @funny000,
As far as I see the pred probability is not returned for each pixel, but you can have a look at postprocessing code, here is probably what you need
thanks @qubvel, I see the image_processing_mask2former of code, and get the mask prob as like as pred score, has change code to output mask probs to post process of my work. but have a other problem, when i slider a big height width image to generate panotanic segmantation map, every small image of big image generate different label_id in same object, just like a car or water. it's so odd, Why model output different label_id of same object in every small image?
Hi @funny000, that is expected behavior, the model does not re-identify objects between images. On each image object is a unique instance with its own class label, nothing else. You might want to search and explore some techniques on how to re-identify / stitch objects from different images or frames.
Feature request
I has download the mask2former swin-l model from huggingface website, and use example code get segmentation map of image, the example code is:
the code can get the seg map, but not pred score of every pixel, so how to add calculate code to get perd score of every pixel?
Motivation
not motivation
Your contribution
a littlecontribution