dgs.models.module

Base model class as lowest building block for dynamic modules

Module Functions

enable_keyboard_interrupt(func)

Call BaseModule.terminate() on Keyboard Interruption (e.g., ctrl+c), which should make sure that all threads are stopped and the GPU memory is freed.

Module Classes

BaseModule(config, path)

Base class for all custom modules.