trinity.manager.state_manager module#

State manager.

class trinity.manager.state_manager.StateManager(config: Config, check_config: bool = False)[source]#

Bases: object

A Manager class for managing the running state of Explorer and Trainer.

__init__(config: Config, check_config: bool = False)[source]#
save_explorer(current_task_index: int, current_step: int) None[source]#
load_explorer() dict[source]#
save_trainer(current_exp_index: int, current_step: int) None[source]#
load_trainer() dict[source]#