tbp.monty.experiment#
tbp.monty.experiment.environment#
tbp.monty.experiment.learning_module#
- class ExperimentLearningModule(*args, **kwargs)[source]#
Bases:
ProtocolExperiment interface to a Learning Module.
- __init__(*args, **kwargs)#
- fixme_reset_ground_truth(primary_target=None) None[source]#
Reset internal state based on ground truth.
- Parameters:
primary_target – The primary target for the learning module to recognize.
- Return type:
- reset_stm() None[source]#
Reset short-term memory buffer.
Do things like reset buffers or possible_matches before training.
- Return type:
- set_experiment_mode(mode: ExperimentMode) None[source]#
Set the experiment mode.
Update state variables based on which method (train or evaluate) is being called at the experiment level.
- Parameters:
mode (
ExperimentMode) – The experiment mode.- Return type:
tbp.monty.experiment.motor_system#
- class ExperimentMotorPolicy(*args, **kwargs)[source]#
Bases:
ProtocolExperiment interface to a Motor Policy.
- __init__(*args, **kwargs)#
- reset(motor_system: ExperimentMotorSystem) None[source]#
Reset the internal state of this Motor Policy.
- Parameters:
motor_system (
ExperimentMotorSystem) – The associated Motor System.- Return type:
- class ExperimentMotorPolicySelector(*args, **kwargs)[source]#
Bases:
ProtocolExperiment interface to a Motor Policy Selector.
- __init__(*args, **kwargs)#
- reset(motor_system: ExperimentMotorSystem) None[source]#
Reset the internal state of this Motor Policy Selector.
- Parameters:
motor_system (
ExperimentMotorSystem) – The associated Motor System.- Return type: