Complex-YOLOv4-Pytorch icon indicating copy to clipboard operation
Complex-YOLOv4-Pytorch copied to clipboard

Doubt in density map

Open bhaskar-anand-iith opened this issue 3 years ago • 0 comments

In the paper formula used for density map is as follows: zr (Sj ) = min (1.0, log(N + 1)/64)

But in the code it is:

normalizedCounts = np.minimum(1.0, np.log(counts + 1) / np.log(64))

Are both same? Shouldn't it be like this?:

normalizedCounts = np.minimum(1.0, np.log((counts + 1) / 64))

bhaskar-anand-iith avatar Jul 26 '22 10:07 bhaskar-anand-iith