dacapo.experiments.trainers.dummy_trainer_config

Classes

DummyTrainerConfig

This is just a dummy trainer config used for testing. None of the

Module Contents

class dacapo.experiments.trainers.dummy_trainer_config.DummyTrainerConfig

This is just a dummy trainer config used for testing. None of the attributes have any particular meaning. This is just to test the trainer and the trainer config.

mirror_augment

A boolean value indicating whether to use mirror augmentation or not.

Type:

bool

verify(self) Tuple[bool, str]

This method verifies the DummyTrainerConfig object.

trainer_type
mirror_augment: bool
verify() Tuple[bool, str]

Verify the DummyTrainerConfig object.

Returns:

A tuple containing a boolean value indicating whether the DummyTrainerConfig object is valid

and a string containing the reason why the object is invalid.

Return type:

Tuple[bool, str]

Examples

>>> valid, reason = trainer_config.verify()