ESMasterRunner¶
-
class
maze.train.trainers.es.es_runners.ESMasterRunner(state_dict_dump_file: str, spaces_config_dump_file: str, normalization_samples: int, shared_noise_table_size: int)¶ Baseclass of ES training master runners (serves as basis for dev and other runners).
-
abstract
create_distributed_rollouts(env: Union[maze.core.env.structured_env.StructuredEnv, maze.core.env.structured_env_spaces_mixin.StructuredEnvSpacesMixin], shared_noise: maze.train.trainers.es.es_shared_noise_table.SharedNoiseTable) → maze.train.trainers.es.distributed.es_distributed_rollouts.ESDistributedRollouts¶ Abstract method, derived runners like ESDevRunner return an appropriate rollout generator.
- Parameters
env – the one and only environment
shared_noise – noise table to be shared by all workers
- Returns
a newly instantiated rollout generator
Number of float values in the deterministically generated pseudo-random table (250.000.000 x 32bit floats = 1GB)
-
abstract