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

请问self.mask是在哪里定义的? #89

Open
youyuanrsq opened this issue Jun 29, 2021 · 1 comment
Open

请问self.mask是在哪里定义的? #89

youyuanrsq opened this issue Jun 29, 2021 · 1 comment

Comments

@youyuanrsq
Copy link

在aagcn文件中,当我打算复现A-STGCN-STC时,报了self.mask没有定义的错误,我看了下代码,确实是没有定义这个变量,不知道这个变量的作用是什么,应该在哪里先定义或者传参尽量呢?

else: A = self.A.cuda(x.get_device()) * self.mask for i inrange(self.num_subset): A1 = A[i] A2 = x.view(N, C * T, V) z = self.conv_d[i](torch.matmul(A2, A1).view(N, C, T, V)) y = z + y if y is not None else z

@qiuqiu-lwf
Copy link

mask应该是代表STGCN中的边缘重要性加权

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

2 participants