Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

"left" and "right" not in gragh #34

Open
hello-big-world opened this issue Nov 7, 2022 · 0 comments
Open

"left" and "right" not in gragh #34

hello-big-world opened this issue Nov 7, 2022 · 0 comments

Comments

@hello-big-world
Copy link

for k1 in ["left", "right"]:
    graph[k1] = dict()
    for k2 in ["u", "v"]:
        temp = [graphs[i][k1][k2] + counts[i] for i in range(batch_size)]
        temp = [
            x if x.dim() > 0 else graph["pre"][0]["u"].new().resize_(0)
            for x in temp
        ]
        graph[k1][k2] = torch.cat(temp)

KeyError: 'left'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant