Deep-NCL icon indicating copy to clipboard operation
Deep-NCL copied to clipboard

about how to generate density maps

Open leizhu1989 opened this issue 5 years ago • 4 comments

hello! I want to konw how to make the last layer of the output into density maps ? could you give me some ideas? thank you very much

leizhu1989 avatar May 05 '19 07:05 leizhu1989

I'm not really understand your question. Basically, to train your model, you need first generate your density map ground truth. Then you need design your network, in which the output of last layer should have the same size with your density map ground truth. If your question is about how to get the final estimated density map of our deep NCL, I can say that the final estimated density map is obtained by averaging all outputs of deep NCL. I hope I answer you well.

shizenglin avatar May 05 '19 20:05 shizenglin

thank you ,I should make clear my question. I want to know whether the featuremap of the last layer of convolutional output can be directly drawn into an density maps image ,when I want to write a demo to test a picture in caffe project.

leizhu1989 avatar May 06 '19 06:05 leizhu1989

Yes, as you said, the last layer of convolutional output can be directly drawn into an density maps image. It would be better to understand if you take some time to read the codes.

shizenglin avatar May 06 '19 08:05 shizenglin

thank you ,I got it

leizhu1989 avatar May 06 '19 08:05 leizhu1989