unet = UNet2DConditionModel.from_pretrained(args.pretrained_decoder_model_name_or_path, subfolder="unet") Next, the script includes several image transforms and a preprocessing function for applying the transforms to the images and returning the pixel values:   Copied def preprocess_train(examples):