I’m trying to construct a dataloader for the QM9EdgeDataset
. I’m following the example provided here, but unfortunately the code crashes with
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Here is the minimal code:
import dgl.data
from dgl.dataloading import GraphDataLoader
dataset = dgl.data.QM9EdgeDataset(label_keys=['homo', 'lumo', 'gap', 'U0', 'U', 'H', 'G'])
TrainDataset = GraphDataLoader(dataset, batch_size=10, drop_last=False, shuffle=True)
for batched_graph, labels in TrainDataset:
print('hi')