Menu

Module providing common Brain MRI Augmentation Methods for PyTorch.

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the gallery for the big picture.

class brainrise.datasets.MRIToyDataset(root, transform=None)[source]

Create the MRI Toy dataset.

__init__(root, transform=None)[source]

Init class.

Parameters

root : str

root directory of dataset where data will be saved.

transform : callable, default None

optional transform to be applied on a sample.

download()[source]

Download data.

Follow us

© 2023, brainrise developers