Skip to content

Density Map generation #86

@wuzhe71

Description

@wuzhe71

In density map generation, the gaussian_filter_density function will lead to slight variation. So i change the code:

density += scipy.ndimage.filters.gaussian_filter(pt2d, sigma, mode='constant')

to

map = scipy.ndimage.filters.gaussian_filter(pt2d, sigma, mode='constant')
map = map / map.sum()
density += map

This could avoid the slight variation, but would it affect the training?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions