A CNN-Transformer hybrid beats pure CNN on defect detection but runs 2.4x slower. — Synthesis