bioimageloader.batch#

Batch loader module

class bioimageloader.batch.ConcatDataset(datasets: List[bioimageloader.base.Dataset])[source]#

Concatenate Datasets

References

1

https://pytorch.org/docs/stable/_modules/torch/utils/data/dataset.html#ConcatDataset

class bioimageloader.batch.BatchDataloader(dataset: bioimageloader.base.Dataset, batch_size: int = 16, shuffle: bool = False, drop_last: bool = False, num_workers: Optional[int] = None)[source]#

Batch loader with multi-processing

class bioimageloader.batch.IterBatchDataloader(dataloader: bioimageloader.batch.BatchDataloader)[source]#

Iterate BatchDataloader