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

einsum(): operands do not broadcast with remapped shapes #2

Open
Chloe-Liu33 opened this issue Oct 15, 2023 · 1 comment
Open

einsum(): operands do not broadcast with remapped shapes #2

Chloe-Liu33 opened this issue Oct 15, 2023 · 1 comment

Comments

@Chloe-Liu33
Copy link

hello ,when run the code according to your README.md on dataset METR-LA, I encountered the bug. When I run the code on my own dataset, the same bug occured again.
微信图片_20231015121157

@wsh9352
Copy link

wsh9352 commented Oct 19, 2023

It seems that line 361-367 of the following codes in model.py should be deleted.

x = torch.einsum('bnft, knm -> bkmft', x, wavelets)
x = torch.einsum('bkmft, kfo -> bk')
x = torch.einsum('bknft, k -> bnft', x, self.Gate)     


a = torch.einsum('fs, bknf -> bkns', self.Att_W, xs)
a = torch.einsum('bkns, ks -> bkn', xs, self.Att_U)

And there is an additional argument adj_file that refers to the location of the adjacency matrix data, should actually be appointed.

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