Hello, thank you for sharing your nice project.
In sec3.4, you write about how to get the instance masks, but I do not know where you apply the DenseCRF...
For example,
we first generate the score map for the detected box using the trained segmentation branch.
Then, the predicted score map of the box is pasted to a map Sˆ of the same size as the input image according to the box’s location.
is corresponding to the first score map and paste pate
And,values predicted by the model are returned in this part
All the above codes are run in this inference part.
Finally, the encoded masks are outputed in the encode part.
However, I do not know the DenseCRF part...
For setting up DenseCRF, we employ the map Sˆ as the unary term and use the color and pixel location differences with the bilateral kernel to construct the pairwise term.
After optimization using mean field approximation, DenseCRF produces the final instance mask
Please teach us, thank you.
Hello, thank you for sharing your nice project.
In sec3.4, you write about how to get the instance masks, but I do not know where you apply the DenseCRF...
For example,
is corresponding to the first score map and paste pate
And,values predicted by the model are returned in this part
All the above codes are run in this inference part.
Finally, the encoded masks are outputed in the encode part.
However, I do not know the DenseCRF part...
Please teach us, thank you.