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

geo_mask设置的疑问 #59

Open
Miller-Xu opened this issue Nov 28, 2024 · 0 comments
Open

geo_mask设置的疑问 #59

Miller-Xu opened this issue Nov 28, 2024 · 0 comments

Comments

@Miller-Xu
Copy link

为啥模型中的geo_mask是大于阈值设置为1

sh_mx = sh_mx.T
self.geo_mask = torch.zeros(self.num_nodes, self.num_nodes).to(self.device)
self.geo_mask[sh_mx >= self.far_mask_delta] = 1
self.geo_mask = self.geo_mask.bool()

原文写的是
From the short-range view, we define the binary geo-graphic masking matrix Mgeo, and only if the distance (i.e., hops in the graph) between two nodes is less than a threshold λ, the weight is 1, and 0 otherwise.

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