Skip to content

gat.py has an error  #8

@brucetby

Description

@brucetby

for the code:

for _ in range(num_layers - 2):
    self.convs.append(GATConv(hidden_channels*layer_heads[i-1], hidden_channels, heads=layer_heads[i], concat=True))
    if self.batchnorm:
        self.bns.append(torch.nn.BatchNorm1d(hidden_channels*layer_heads[i-1]))

the _ should be i

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions