Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
from pytorch_lightning import LightningDataModule | |
from torch_geometric.datasets import TUDataset | |
from torch_geometric.data import DataLoader | |
from sklearn.model_selection import KFold | |
class ProteinsKFoldDataModule(LightningDataModule): | |
def __init__( | |
self, | |
data_dir: str = "data/", |
OlderNewer