I want to train a model with python over the images, and these images are for a metal product. my aim is to detect the defects, to notice if a product is a failure.
what kind of architecture do you suggest? should I train over the class? or should I use an autoencoder?