otx.algorithms.common.adapters.torch.dataloaders#

Dataloaders used in OTX.

Classes

ComposedDL([loaders])

Composed dataloader for combining two or more loaders together.

class otx.algorithms.common.adapters.torch.dataloaders.ComposedDL(loaders=None)[source]#

Bases: object

Composed dataloader for combining two or more loaders together.

class DummySampler(cdl)[source]#

Bases: object

Dummy sampler class to relay set_epoch() call to the list of data loaders in the CDL.

set_epoch(epoch)[source]#

Set epoch.

property sampler#

Return sampler.