JAMM032's picture
Upload github repo files
97fcc90 verified
raw
history blame contribute delete
198 Bytes
import yaml
def load_config(config_path: str = "configs/train_cnn.yaml") -> dict:
"""Loads a YAML configuration file."""
with open(config_path) as f:
return yaml.safe_load(f)