A contour-to-saliency transferring method to automatically generate salient object masks which can be used to train the saliency branch from outputs of the contour branch, and introduces a novel alternating training pipeline to gradually update the network parameters.