Closed aries-M closed 3 years ago
In case of 1-hop neighborhoods, NeighborSampler
will return a single adj
object. You can wrap it into a list without changing anything else in def convert_batch
:
return Batch(x=x, y=y, adjs_t=[adjs[0]])
Thank you for your quick reply~ It works!
I want to run gnn.py with one layer, so I change the sizes from "25-15" to "25", but it went wrong.