DeepMask
Torch implementation of DeepMask and SharpMask
...Instead of first generating boxes and then refining them, the network predicts a foreground mask and an “objectness” score for a given image patch, yielding high-quality segment proposals suitable for downstream detection or instance segmentation. The model is trained end-to-end to align mask shape with object extent, which markedly improves recall at a manageable number of proposals. In practice, DeepMask is run on an image pyramid with a sliding window, followed by non-maximum suppression to produce a compact set of candidates. A companion refinement model (SharpMask) sharpens the coarse predictions, recovering fine boundaries like thin limbs or object edges. ...