Example

Testing Image Preprocessing for Hot Dog Recognition

During the testing phase of the hot dog recognition model, images undergo deterministic preprocessing to construct a standardized input. Both the height and width of an image are first scaled to 256256 pixels, and then a central 224×224224 \times 224 area is cropped. Finally, the RGB channels of the cropped image are standardized.

0

1

Updated 2026-05-19

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L