In SAS Viya's deep learning pipeline, the DLPy ImageTable.load_images() method loads images from a local directory into a CAS in-memory table. What additional CAS action is typically needed to convert raw loaded images to model input format?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because load_images() loads raw image bytes into a CAS binary table (typically into a '_image_' binary column), but the images may be different sizes and formats. Before training, images typically need to be resized to the model's expected input dimensions using the ImageProcessing CAS action set or DLPy's ImageTable helper methods.
Full explanation below image
Full Explanation
B is correct because load_images() loads raw image bytes into a CAS binary table (typically into a '_image_' binary column), but the images may be different sizes and formats. Before training, images typically need to be resized to the model's expected input dimensions using the ImageProcessing CAS action set or DLPy's ImageTable helper methods. Normalization (scaling pixel values from 0-255 to 0-1 or standardizing to mean/std) may also be needed. A is wrong; load_images() does not auto-resize to model dimensions. C is wrong; PROC CONTENTS is not required. D is wrong; CAS session restart is not needed.