-
Notifications
You must be signed in to change notification settings - Fork 3
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
[bug] z.shape Q.shape is not same in graphlayer #5
Comments
Hi, the shape of Q is (B, HW, V) and that of Z is (B, d, HW, V). So when torch.mul(Z,Q) is used, output shape will be (B,d, HW, V). You can try it with some random vectors this should not report an error. Did you face any such error while running the code? |
Regarding Final conv1 it the one which makes projects the channel to the number of classes. Please go through the paper mentioned in the readme. If you remove the conv1 it might result in an error or give wrong results. |
Another small thing, in file |
in the code above:
z shape is (self.batch, self.d , self.htself.wdth , self.no_of_vert)
while Q shape is (self.batch, self.htself.wdth, self.d , self.no_of_vert)
When the code is executed to z = torch.mul(z,Q), an error will be reported
The text was updated successfully, but these errors were encountered: