NoexceptDataset

class torchelie.datasets.NoexceptDataset(ds)

Wrap a dataset and absorbs the exceptions it raises. Useful in case of a big downloaded dataset with corrupted samples for instance.

Parameters

ds (Dataset) – a dataset