delu#

Deep Learning Utilities for PyTorch users.

Data

Stream

Smart wrapper for data loaders and iterables.

Monitoring

ProgressTracker

Tracks the best score, helps with early stopping.

Timer

Measures time.

Tensor operations

collate

Almost an alias for torch.utils.data.dataloader.default_collate.

concat

Concatenate items (tensors, numpy-arrays, tuples, dicts etc.) along the first dimension.

iter_batches

Efficiently iterate over data (tensor, tuple of tensors, dict of tensors etc.) in a batchwise manner.

Utilities

improve_reproducibility

Set seeds in random, numpy and torch and make some cuDNN operations deterministic.

evaluation

Context-manager & decorator for models evaluation.

Submodules

See the sidebar on the left.