gt4sd.training_pipelines.core module

Core training utilities.

Summary

Classes:

TrainingPipeline

Abstract interface for a training pipelines.

TrainingPipelineArguments

Abstract interface for training pipeline arguments.

Reference

class TrainingPipeline[source]

Bases: object

Abstract interface for a training pipelines.

train(**kwargs)[source]

Train the models associated to a pipeline.

Return type

None

__annotations__ = {}
__dict__ = mappingproxy({'__module__': 'gt4sd.training_pipelines.core', '__doc__': 'Abstract interface for a training pipelines.', 'train': <function TrainingPipeline.train>, '__dict__': <attribute '__dict__' of 'TrainingPipeline' objects>, '__weakref__': <attribute '__weakref__' of 'TrainingPipeline' objects>, '__annotations__': {}})
__doc__ = 'Abstract interface for a training pipelines.'
__module__ = 'gt4sd.training_pipelines.core'
__weakref__

list of weak references to the object (if defined)

class TrainingPipelineArguments[source]

Bases: object

Abstract interface for training pipeline arguments.

__name__ = 'TrainingPipelineArguments'
__annotations__ = {}
__dataclass_fields__ = {}
__dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,order=False,unsafe_hash=False,frozen=False)
__dict__ = mappingproxy({'__module__': 'gt4sd.training_pipelines.core', '__doc__': 'Abstract interface for training pipeline arguments.', '__name__': 'training_args', '__dict__': <attribute '__dict__' of 'TrainingPipelineArguments' objects>, '__weakref__': <attribute '__weakref__' of 'TrainingPipelineArguments' objects>, '__dataclass_params__': _DataclassParams(init=True,repr=True,eq=True,order=False,unsafe_hash=False,frozen=False), '__dataclass_fields__': {}, '__init__': <function TrainingPipelineArguments.__init__>, '__repr__': <function TrainingPipelineArguments.__repr__>, '__eq__': <function TrainingPipelineArguments.__eq__>, '__hash__': None, '__match_args__': (), '__annotations__': {}})
__doc__ = 'Abstract interface for training pipeline arguments.'
__eq__(other)

Return self==value.

__hash__ = None
__init__()
__match_args__ = ()
__module__ = 'gt4sd.training_pipelines.core'
__repr__()

Return repr(self).

__weakref__

list of weak references to the object (if defined)