Closed giorgionicola closed 1 year ago
Hi, I have managed to run the example by simply reverting only the file train.py
to the previous version.
Specifically, I have changed line 125 from
pred = self.model(graph.ndata["x"], graph.edata["x"], graph)
to
pred = self.model(graph, graph.ndata["x"], graph.edata["x"])
Hi @giorgionicola , just checking to see if the issue is resolved? As Nick mentioned, this has been fixed in the latest version of the main branch, and a source install should work.
Closing as resolved. Please reopen if the issue persists.
In the example vortex_shedding_mgn/train.py at line 147 the graph created via DGL is fed to the network that expect a Tensor.
here attached the error: