Contrastive Learning For Compact Single Image