l5kit.configs.config module

l5kit.configs.config.load_config_data(path: str) dict

Load a config data from a given path

Parameters

path – the path as a string

Returns

the config as a dict

l5kit.configs.config.load_metadata(metadata_path: str) dict

Load the json metadata file

Parameters

metadata_path – path to the dataset metadata

Returns

metadata as a dict

Return type

dict

l5kit.configs.config.save_config_data(data: dict, path: str) None

Save the config on the disk

Parameters
  • data – the config as a dict

  • path – the path as a string