CLRNet icon indicating copy to clipboard operation
CLRNet copied to clipboard

Are images normalized during training/inference?

Open LukeAI opened this issue 3 years ago • 1 comments

I can see that RGB/BGR (?) normalization is defined here https://github.com/Turoad/CLRNet/blob/d0fef907aae323ef37da0c176c5df35a0565e58d/clrnet/datasets/process/transforms.py#L276

and that image_norm information is defined in the configs: https://github.com/Turoad/CLRNet/blob/7269e9d1c1c650343b6c7febb8e764be538b1aed/configs/clrnet/clr_dla34_culane.py#L44

but as far as I can tell, grepping through the code Normalize is never called and img_norm is never read. but I don't really understand the structure of the code well. Is Normalisation done? If so, where? If not, why not?

Thanks in advance, for the insight!

LukeAI avatar Jan 09 '23 14:01 LukeAI

I am also wondering this.

josh-wende avatar Nov 07 '23 22:11 josh-wende