We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,我用点积版本的non_local对f进行softmax之后, f = torch.matmul(theta_x, phi_x) N = f.size(-1) f_div_C = f / N sft = nn.Softmax(dim=2) f_div_C = sft(f_div_C) 在可视化时还需要对NL_MAP进行normalize吗?如果需要,应该如何normalize呢? 现在我的热图结果只有一个box,看不到正常热图颜色的变化,这是什么原因呢?
The text was updated successfully, but these errors were encountered:
Hi @55renchen , NL_MAP需要归一化到[0, 1]. uint8类型范围是[0, 255],超出该范围则溢出
Non-local_pytorch/nl_map_vis/nl_map_vis.py
Line 35 in 1fdae52
Sorry, something went wrong.
No branches or pull requests
您好,我用点积版本的non_local对f进行softmax之后,
f = torch.matmul(theta_x, phi_x)
N = f.size(-1)
f_div_C = f / N
sft = nn.Softmax(dim=2)
f_div_C = sft(f_div_C)
在可视化时还需要对NL_MAP进行normalize吗?如果需要,应该如何normalize呢?
现在我的热图结果只有一个box,看不到正常热图颜色的变化,这是什么原因呢?
The text was updated successfully, but these errors were encountered: