(dataset_cfg: DictConfig, seq: Optional[str] = None)
| 23 | return filelist |
| 24 | |
| 25 | def list_depths_a_sequence(dataset_cfg: DictConfig, seq: Optional[str] = None): |
| 26 | subdir = dataset_cfg.depth.path.format(seq=seq) # string include {seq} |
| 27 | ext = dataset_cfg.depth.ext |
| 28 | filelist = sorted(glob.glob(f"{subdir}/*.{ext}")) |
| 29 | return filelist |