Run configuration
- pydantic model anemoi.inference.config.Configuration
Configuration class.
Show JSON schema
{ "title": "Configuration", "description": "Configuration class.", "type": "object", "properties": {}, "additionalProperties": false }
- Config:
extra: str = forbid
- classmethod load(path: str | Dict[str, Any], overrides: List[str] | List[dict] | str | dict = [], defaults: str | List[str] | dict | None = None) T
Load the configuration.
- Parameters:
path (Union[str, dict]) – Path to the configuration file or a dictionary containing the configuration.
overrides (Union[List[str], List[dict], str, dict], optional) – List of overrides to apply to the configuration, by default [].
defaults (Optional[Union[str, List[str], dict]], optional) – Default values to set in the configuration, by default None.
- Returns:
The loaded configuration.
- Return type: