Accurate Object Localization with Shape Masks