ValueError: operands could not be broadcast together with shapes error showing up during link prediction

ValueError: operands could not be broadcast together with shapes (4661,4736) (4736,4736)

I am trying to do the link prediction task using this tutorial Make Your Own Dataset — DGL 0.9.1post1 documentation

but the above error is showing up.

I am trying to use heterogeneous bipartile graph so the src and dst columns are different so the error is showing up. Any idea to how to bypass the error.

The data is of e-commerce website where the src data is of users and dst data is of products that the user ordered.

Could you show how you changed the tutorial code and the stack trace? That could help us to locate the problem.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.