clean images to train wrapped model