ray.rllib.core.models.catalog.Catalog.__init__#

Catalog.__init__(observation_space: gymnasium.Space, action_space: gymnasium.Space, model_config_dict: dict, view_requirements: dict = None)[source]#

Initializes a Catalog with a default encoder config.

Parameters:
  • observation_space – The observation space of the environment.

  • action_space – The action space of the environment.

  • model_config_dict – The model config that specifies things like hidden dimensions and activations functions to use in this Catalog.

  • view_requirements – The view requirements of Models to produce. This is needed for a Model that encodes a complex temporal mix of observations, actions or rewards.