l5kit.vectorization.vectorizer_builder module

l5kit.vectorization.vectorizer_builder.build_vectorizer(cfg: dict, data_manager: l5kit.data.local_data_manager.DataManager) l5kit.vectorization.vectorizer.Vectorizer

Factory function for vectorizers, reads the config, loads required data and initializes the vectorizer.

Parameters
  • cfg (dict) – Config.

  • data_manager (DataManager) – Datamanager that is used to require files to be present.

Returns

Vectorizer initialized given the supplied config.

Return type

Vectorizer