PhysAugNet 1.0.1
VQ-VQE powered augmentation for metal defect segmentation
Loading...
Searching...
No Matches
config.py
Go to the documentation of this file.
1import yaml
2import os
3
4def load_config(path="configs/default.yaml"):
5 if not os.path.exists(path):
6 raise FileNotFoundError(f"Config file not found: {path}")
7 with open(path, 'r') as f:
8 return yaml.safe_load(f)
load_config(path="configs/default.yaml")
Definition config.py:4