MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _load_config

Function _load_config

deeplabcut/compat.py:1998–2006  ·  view source on GitHub ↗
(config: str)

Source from the content-addressed store, hash-verified

1996
1997
1998def _load_config(config: str) -> dict:
1999 config_path = Path(config)
2000 if not config_path.exists():
2001 raise FileNotFoundError(f"Config {config} is not found. Please make sure that the file exists.")
2002
2003 with open(config) as f:
2004 project_config = YAML(typ="safe", pure=True).load(f)
2005
2006 return project_config

Callers 12

train_networkFunction · 0.85
evaluate_networkFunction · 0.85
analyze_videosFunction · 0.85
create_tracking_datasetFunction · 0.85
analyze_imagesFunction · 0.85
extract_mapsFunction · 0.85
extract_save_all_mapsFunction · 0.85
export_modelFunction · 0.85

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected