Train custom computer vision defect detection model using Amazon SageMaker
AWS•How-to••by Ryan Vanderwerf, Kunle Adeleke, Lu Min and Tim Westman•AWS Artificial Intelligence Blog
In this post, we demonstrate how to migrate computer vision workloads from Amazon Lookout for Vision to Amazon SageMaker AI by training custom defect detection models using pre-trained models available on AWS Marketplace. We provide step-by-step guidance on labeling datasets with SageMaker Ground Truth, training models with flexible hyperparameter configurations, and deploying them for real-time or batch inference—giving you greater control and flexibility for automated quality inspection use…
Lookout for Vision users can move to a pre-trained defect detection model from AWS Marketplace, fine-tuned in SageMaker AI with labeled images from Ground Truth, then deployed to an endpoint or batch transform.
Who it is for
Manufacturing teams on Amazon Lookout for Vision, which AWS is discontinuing, that need a replacement for automated quality inspection on SageMaker AI.
Key points
AWS says Lookout for Vision shutdown is scheduled for 31 October 2025, per the post.
Training runs on ml.g4dn.2xlarge in the example; the post says under 10 minutes on that instance.
The post says the maximum training time is no longer fixed at 24 hours and hyperparameters can be set.
Only binary classification and semantic segmentation model types are covered.
AI:Both cover custom image-model training for vision tasks, but Azure Custom Vision is being retired in favor of other Azure routes, so readers choosing a custom vision path would want to compare.
Related posts
AWS•Customer story••by Haotian An, Debby Wehner, Manoj Alwani, Altay Sansal and Alejandro Valenciano•AWS Artificial Intelligence Blog
AI:TGS reports its ViT-based seismic foundation model trained on SageMaker HyperPod with DeepSpeed ZeRO-2 and streaming from Amazon S3, cutting training from 6 months to 5 days.
AWS•Customer story••by Babs Khalidson, Seppo Kalliomaki, Kimmo Isosomppi, Luisa Bertoli, Nicolas Metallo, Vushesh Babu Adhikari, Krišjānis Kočāns, Kaspars Magaznieks and Sergei Kiriasov•AWS Artificial Intelligence Blog
AI:Sun Finance built a serverless pipeline combining Textract OCR, Rekognition fallback and Claude structuring that raised ID extraction accuracy to 90.8% and cut per-document cost 91%.
AI:Shows how to catalog an S3 dataset in SageMaker Unified Studio and use it to fine-tune Llama 3.2 11B Vision Instruct for document visual question answering, tracked with MLflow.