dgs.utilsΒΆ

General utility functions for handling recurring tasks. Additionally, utils contains definitions for custom types, exceptions, and constants.

Modules

config

Util- and helper-functions for handling configuration files and passing down sub configurations to other modules.

constants

Predefined constants that will not change and might be used at different places.

exceptions

Definition of custom exceptions.

files

Contains helper functions for loading and interacting with files and paths.

image

loader

Utility functions for loading instances.

nn

Helper and utility methods for creating neural networks using PyTorch.

state

Definitions and helpers for a state.

timer

Models, functions and helpers for timing operations.

torchtools

Tools for handling recurring torch tasks.

track

Classes and helpers for Track, Tracks, and other tracking related objects.

types

definition of regularly used types

utils

General utility functions.

validation

Utilities for validating recurring data types.

visualization

Helpers for visualizing data.