Per-worker OpenVINO CPU runs the MetricGAN BLSTM mask; SpeechBrain keeps STFT/ISTFT. ENHANCE_INFER=auto with torch fallback. Hop is 0.1 s after isolated last_ms ~6 ms (model+ov+beamform).
20 lines
475 B
Python
20 lines
475 B
Python
from config import Config, _parse_cameras
|
|
|
|
|
|
def test_parse_cameras_list():
|
|
assert _parse_cameras("1,5") == ["1", "5"]
|
|
assert _parse_cameras("all") == ["all"]
|
|
assert _parse_cameras("1-3") == ["1", "2", "3"]
|
|
|
|
|
|
def test_default_beamform_mode_auto():
|
|
assert Config().beamform_mode == "auto"
|
|
|
|
|
|
def test_torch_num_threads_default_one():
|
|
assert Config().torch_num_threads == 1
|
|
|
|
|
|
def test_enhance_infer_default_auto():
|
|
assert Config().enhance_infer == "auto"
|