[docs]defget_nusc_mono_train_cfg(data_root:str="data/nuscenes",keys_to_load:Sequence[str]=(K.images,K.boxes2d,K.boxes3d),skip_empty_samples:bool=True,cache_as_binary:bool=True,cached_file_path:str|None=None,data_backend:None|ConfigDict=None,)->ConfigDict:"""Get the nuScenes monocular training dataset config."""ifcache_as_binaryandcached_file_pathisNone:cached_file_path=f"{data_root}/mono_train.pkl"returnclass_config(NuScenesMono,data_root=data_root,keys_to_load=keys_to_load,version="v1.0-trainval",split="train",skip_empty_samples=skip_empty_samples,cache_as_binary=cache_as_binary,cached_file_path=cached_file_path,data_backend=data_backend,)
[docs]defget_nusc_mono_mini_train_cfg(data_root:str="data/nuscenes",keys_to_load:Sequence[str]=(K.images,K.boxes2d,K.boxes3d),skip_empty_samples:bool=True,cache_as_binary:bool=True,cached_file_path:str|None=None,data_backend:None|ConfigDict=None,)->ConfigDict:"""Get the nuScenes monocular mini training dataset config."""ifcache_as_binaryandcached_file_pathisNone:cached_file_path=f"{data_root}/mono_mini_train.pkl"returnclass_config(NuScenesMono,data_root=data_root,keys_to_load=keys_to_load,version="v1.0-mini",split="mini_train",skip_empty_samples=skip_empty_samples,cache_as_binary=cache_as_binary,cached_file_path=cached_file_path,data_backend=data_backend,)