I am trying to build a basic link prediction model on a dataset that contains multiple graphs (e.g. molecules). Since
EdgeDataLoader iterates over a single graph, what is the recommended way to proceed? I have the feeling that doing a collate on the whole dataset before passing it to
EdgeDataLoader is a bad idea memory-wise, and I don’t think EdgeDataLoader collates internally when given multiple graphs.
A minimal working example would be much appreciated.