chop.datasets#
chop.dataset.nerf#
chop.dataset.nlp#
chop.dataset.physical#
chop.dataset.vision#
- chop.dataset.vision.get_vision_dataset(name: str, path: PathLike, split: str, model_name: str)[source]#
- Parameters:
name (str) – name of the dataset
path (str) – path to the dataset
train (bool) – whether the dataset is used for training
model_name (Optional[str, None]) – name of the model. Some pretrained models have
evaluation. (model-dependent transforms for training and)
- Returns:
dataset (with transforms)
- Return type:
dataset (torch.utils.data.Dataset)