load#
- statrl.experiments.utils.load(filename)[source]#
Read an
environments.yamlregistry.Each entry maps an environment name to a spec with an
entrypointand optionalkwargs. The spec’s directory is recorded under_base_dirsomake()can resolve the entrypoint relative to the YAML file rather than the working directory.- Parameters:
filename (str or path-like) – Path to the YAML registry.
- Returns:
The parsed registry, each spec augmented with
_base_dir.- Return type:
See also
makeInstantiates one of the returned specs.