Arbitrary style transfer via content consistency and style consistency