Skip to main content

datasets

PyTorch implementations for Bitfount Dataset classes.

Classes

BasePyTorchDataset

class BasePyTorchDataset(    datasource: BaseSource,    data_split: DataSplit,    selected_cols: list[str],    selected_cols_semantic_types: Mapping[_SemanticTypeValue, list[str]],    schema: Optional[TableSchema] = None,    data_splitter: Optional[DatasetSplitter] = None,    target: Optional[Union[str, list[str]]] = None,    batch_transforms: Optional[list[dict[str, _JSONDict]]] = None,    auto_convert_grayscale_images: bool = True,    ignore_support_cols: bool = False,    selected_col_prefix: Optional[str] = None,    image_cols_prefix: Optional[str] = None,    image_prefix_batch_transforms: Optional[list[dict[str, _JSONDict]]] = None,):

Base class for representing a Pytorch dataset.

Ancestors

  • bitfount.data.datasets._BaseBitfountDataset
  • abc.ABC

Subclasses

  • bitfount.backends.pytorch.data.datasets._PyTorchDataset
  • bitfount.backends.pytorch.data.datasets._PyTorchIterableDataset