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.
1
import
yaml
2
import
os
3
4
def
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)
config.load_config
load_config(path="configs/default.yaml")
Definition
config.py:4
physaug
utils
config.py
Generated by
1.14.0