Update metrics names (#85)
This commit is contained in:
parent
6432afc5f9
commit
248d54ca03
9 changed files with 30 additions and 36 deletions
|
|
@ -6,10 +6,11 @@ from omegaconf import DictConfig, OmegaConf
|
|||
from ultralytics.yolo.utils.configs.hydra_patch import check_config_mismatch
|
||||
|
||||
|
||||
def get_config(config: Union[str, DictConfig], overrides: Union[str, Dict] = {}):
|
||||
def get_config(config: Union[str, DictConfig], overrides: Union[str, Dict]):
|
||||
"""
|
||||
Accepts yaml file name or DictConfig containing experiment configuration.
|
||||
Returns training args namespace
|
||||
:param overrides: Overrides str or Dict
|
||||
:param config: Optional file name or DictConfig object
|
||||
"""
|
||||
if isinstance(config, (str, Path)):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue