(cls, file_path: Union[str, Path])
| 24 | |
| 25 | @classmethod |
| 26 | def load(cls, file_path: Union[str, Path]) -> DictConfig: |
| 27 | cfg = OmegaConf.load(file_path) |
| 28 | |
| 29 | cfg.Det = cls._convert_value_to_enum(cfg.Det) |
| 30 | cfg.Cls = cls._convert_value_to_enum(cfg.Cls) |
| 31 | cfg.Rec = cls._convert_value_to_enum(cfg.Rec) |
| 32 | return cfg |
| 33 | |
| 34 | @classmethod |
| 35 | def update_batch(cls, cfg: DictConfig, params: Dict[str, Any]) -> DictConfig: |