novae.data.NovaeDatamodule
novae.data.NovaeDatamodule
Bases: LightningDataModule
Datamodule used for training and inference. Small wrapper around the novae.data.NovaeDataset
Source code in novae/data/datamodule.py
predict_dataloader()
Get a Pytorch dataloader for prediction or inference.
Returns:
Type | Description |
---|---|
DataLoader
|
The prediction dataloader. |
Source code in novae/data/datamodule.py
train_dataloader()
Get a Pytorch dataloader for prediction.
Returns:
Type | Description |
---|---|
DataLoader
|
The training dataloader. |