Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding the resize of heatmap #17

Open
xiaopengguo opened this issue Sep 24, 2023 · 0 comments
Open

Regarding the resize of heatmap #17

xiaopengguo opened this issue Sep 24, 2023 · 0 comments

Comments

@xiaopengguo
Copy link

heatmap = tf.image.resize(heatmap, (64, 64), method="bilinear")
heatmap = gaussian_blur(heatmap, GAUSSIAN_KERNEL)
heatmap = tf.image.resize(heatmap, (224, 224), method="bilinear")

I'm curious about why apply the Gaussian blur to a smaller heatmap, and then resize it to a larger heatmap. Dose this process result in potential loss of details and is it possible to apply Gaussian blur directly to the larger heatmap? Looking forward to further insights, and thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant