deep-vision icon indicating copy to clipboard operation
deep-vision copied to clipboard

About the function generate_2d_guassian()

Open nhatuan84 opened this issue 3 years ago • 0 comments

Hi, Thank for your code: I would like to ask about function generate_2d_guassian() I call the function with params: hm = generate_2d_guassian(10, 10, 0, 0) The result is: [[ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ] [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ] [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ] [ 0. 0. 0. 12. 7.278368 1.6240234 0. 0. 0. 0. ] [ 0. 0. 0. 7.278368 4.414553 0.98502 0. 0. 0. 0. ] [ 0. 0. 0. 1.6240234 0.98502 0.21978767 0. 0. 0. 0. ] [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ] [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ] [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ] [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. ]]

I think the distribution should be arround (0,0) ? but the result is not.

nhatuan84 avatar Dec 17 '20 10:12 nhatuan84