--- license: apache-2.0 --- **Reference-based Anomaly Image Generation via Inpainting** This model generates realistic anomaly images by transferring defect patterns from a reference anomaly image onto a normal (background) image within a user-defined inpainting mask region. **Github: https://github.com/huan-yin/reference_anomaly_generation**