1 utils

utils

Lightning-adjacent utilities for Document Classifier.

1.1 Classes

Name Description
SingletonConfig Base class for singleton configurations.
TargetConfig Typed config-as-factory base whose setup_target returns TargetT.
Console Console wrapper that centralises formatting and convenience helpers.
Verbosity Verbosity levels for Console output.
Optimizable Declarative description of an optimisable parameter.
Stage Stages of the training lifecycle.
ValueStrEnum StrEnum variant whose string form is always its underlying value.

1.2 Functions

Name Description
rotate_yaw_cw90 Rotate a pose by 90° clockwise about its local +Z axis.
optimizable_field Attach an optimizable definition to a Pydantic Field.
summarize Small helper for succinct repr output.
summarize_shape Return a compact shape/dtype/device string using summarize.
extract_scene_id_from_sequence_name Extract scene ID from an ATEK/ASE sequence name.
validate_scene_data Check if a scene has the expected mesh and ATEK shards.