Retraining of images