You are training a Custom Vision object detection model to identify specific manufacturing defects on a production line. You have uploaded 50 images and tagged the defects. When you attempt to train the model, the training fails. What is the most likely cause?
Trap 1: You must have at least 5 tags defined in the project.
Object detection training requires a minimum of 15 images per tag, and 50 images spread across several tags can leave individual tags below that threshold. It is tempting because tag counts do matter in classification projects, but the failing constraint here is per-tag image quantity, not the number of tags.
Trap 2: You must use multi-class classification instead of object detection…
Object detection is the correct project type for locating defects within an image; multi-class classification only assigns one label per image and cannot return bounding boxes. It is tempting because classification suits whole-image defect sorting, but the stem's requirement to identify defect locations rules it out.
Trap 3: Training images must be smaller than 256x256 pixels.
Custom Vision accepts images far larger than 256x256; the actual training failure stems from too few tagged images per label (50 total across defect classes) or missing regions, since object detection needs roughly 15+ examples per tag. The 256x256 figure is tempting because it resembles the small-image requirement for some other vision models, but it is not a Custom Vision constraint.
- A
You must have at least 5 tags defined in the project.
Why it fails: Object detection training requires a minimum of 15 images per tag, and 50 images spread across several tags can leave individual tags below that threshold. It is tempting because tag counts do matter in classification projects, but the failing constraint here is per-tag image quantity, not the number of tags.
- B
Object detection requires a minimum of 15 tagged images per tag.
Object detection in Custom Vision demands at least 15 tagged images per individual tag, not merely 50 images overall. With defects split across multiple tags, some tags likely fall below that per-tag threshold, so training fails despite the total image count satisfying the general minimum.
- C
You must use multi-class classification instead of object detection for manufacturing defects.
Why it fails: Object detection is the correct project type for locating defects within an image; multi-class classification only assigns one label per image and cannot return bounding boxes. It is tempting because classification suits whole-image defect sorting, but the stem's requirement to identify defect locations rules it out.
- D
Training images must be smaller than 256x256 pixels.
Why it fails: Custom Vision accepts images far larger than 256x256; the actual training failure stems from too few tagged images per label (50 total across defect classes) or missing regions, since object detection needs roughly 15+ examples per tag. The 256x256 figure is tempting because it resembles the small-image requirement for some other vision models, but it is not a Custom Vision constraint.