MCPcopy Create free account
hub / github.com/AlayaLab/Hive / get_config

Function get_config

pipeline/code/06_superres_apollo.py:34–37  ·  view source on GitHub ↗
(config_path)

Source from the content-addressed store, hash-verified

32 return torch.from_numpy(audio), samplerate
33
34def get_config(config_path):
35 with open(config_path) as f:
36 config = ConfigDict(yaml.load(f, Loader=yaml.FullLoader))
37 return config
38
39def _getWindowingArray(window_size, fade_size):
40 fadein = torch.linspace(1, 1, fade_size)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected