Closed MNCTTY closed 4 years ago
Hi, we are not currently working on releasing that code but to describe it at a high level: if counting by density estimation, you would sum the predicted maps and normalize by the scaling factor used in training (100 for the pretrained model). If counting by detection, you would find the local maximums (e.g. using skimage's peak_local_max).
@erikalu , the predicted output is of shape 1x200x200. How is this to be visualised?
@erikalu , the predicted output is of shape 1x200x200. How is this to be visualised?
You can normalize the values to be in the correct range and then visualize it as a grayscale 200x200 image.
Hi! Do you have some code to test pretrained model?