You are tasked with deploying a generative A1 model for image inpainting using Triton Inference Server. The model takes an image with masked regions as input and outputs the completed image. You need to pre-process the input image before sending it to the server.
Which pre-processing steps are crucial for ensuring optimal performance and accuracy of the inpainting model?
Correct Answer: A,D
Resizing and normalization ensure the input image conforms to the model's expected input size and data range. A binary mask is essential to indicate which regions the model should inpaint. Converting to grayscale would remove color information, hindering the inpainting process. Data augmentation should be done during the training phase. Sharpening is not typically a necessary pre-processing step for inpainting.