Multi-scale GAN with transformer for surface defect inspection of IC metal packages