Skip to content

Conversation

@Jerry-Master
Copy link

The code runs into the error:

TypeError: object of type 'method' has no len()

Adding the parenthesis solves the error. I don't know if there have been any changes in the dgl API but batch_num_nodes is a method, not an attribute.

The code runs into the error:

TypeError: object of type 'method' has no len()

Adding the parenthesis solves the error. I don't know if there have been any changes in the dgl API but batch_num_nodes is a method, not an attribute.
@mel-ugaddan
Copy link

This was also the version that works for me

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

Successfully merging this pull request may close these issues.

2 participants