standard_e2e.dataset_utils.frame_loader.create_frame_loaders_from_configยถ
- standard_e2e.dataset_utils.frame_loader.create_frame_loaders_from_config(processed_data_path, frames_description, location, index_data=None)[source]ยถ
Instantiate
FrameLoaderobjects from a configuration list.- Parameters:
processed_data_path (
str) โ Root directory containing processed frame files.frames_description (
list[dict]) โ List of dictionaries describing loaders; each requiresframe_name,modalities, andselectorsub-config.location (
str) โ Selector location (โfeaturesโ or โlabelsโ) forwarded tocreate_frame_selector_from_config.index_data (
DataFrame|None) โ Optional index dataframe used to precompute selector mappings.
- Returns:
Concrete loaders ready to retrieve frames.
- Return type: