This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Preprocessing QM9Edge dataset for dgl.data.QM9EdgeDatset. | |
When procssing this dataset, we partially refer to the implementation from https://github.com/Jack-XHP/DGL_QM9EDGE | |
""" | |
import os | |
import numpy as np | |
from dgl.data import DGLDataset | |
from dgl.data.utils import download, extract_archive, _get_dgl_url |