aliyun / conditional-lane-detection

Apache License 2.0
385 stars 89 forks source link

Question about img_norm_cfg #59

Open notabigfish opened 1 year ago

notabigfish commented 1 year ago

Hi, the mean and std in img_norm_cfg is "mean=[75.3, 76.6, 77.6], std=[50.5, 53.8, 54.3], to_rgb=False". Why didn't you use the origin value mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True? Thank you !

haerrel commented 1 year ago

Having the same question, did you find an answer?

haerrel commented 1 year ago

I computed mean and std over 1000 random samples from the CurveLanes dataset. It appears that my numbers are to some extend similar to the numbers in img_norm_cfg. So i assume they computed the mean and std over one of the datasets or all datasets.

Mean: [73.801, 81.312, 79.472]
Standard Deviation: [60.823, 55.079, 56.215]