taohan10200 / IIM

PyTorch implementations of the paper: "Learning Independent Instance Maps for Crowd Localization"
MIT License
169 stars 41 forks source link

您好 我想问下每个数据集给出的mean_std是如何计算的,和我自己计算的结果不太相同。 #36

Open csz-006 opened 1 year ago

csz-006 commented 1 year ago

这是你给出的值,if dataset == 'QNRF': mean_std = ([0.413525998592, 0.378520160913, 0.371616870165], [0.284849464893, 0.277046442032, 0.281509846449])

这是我自己使用cv2.meanStdDev(img)计算得到的值。mean:[[0.36913728] [0.37601528][0.41297333]] std:[[0.25418431][0.25406641][0.26510023]]