Using transforms.normalize() with batch norm?

Is using transforms.normalize() with a net using batch norm pointless (im using resnet).
Or have i misunderstood some stuff?

You have a point.
normally, transoforms.normalize is applied to images before fed into networks.
batchnorm is used in the network to normalize internal representation.

1 Like

Okay so batch norm makes sure the internal values when propagated through the network dont get out of hands and transforms.normalization just scales the inputs?

Yup, that’s right, you heard me correctly!

1 Like