diff --git a/dnn/torch/testsuite/requirements.txt b/dnn/torch/testsuite/requirements.txt index 2ee4220d46e9dd5f15e75dc78bcc0eb49fd6a2e9..af2d991615749be7c5503fe58598a517b6988898 100644 --- a/dnn/torch/testsuite/requirements.txt +++ b/dnn/torch/testsuite/requirements.txt @@ -8,4 +8,5 @@ soundfile pyyaml pesq AMFM_decompy -matplotlib \ No newline at end of file +matplotlib +multiprocess \ No newline at end of file diff --git a/dnn/torch/testsuite/run_test.py b/dnn/torch/testsuite/run_test.py index a397a464b3490b4f50717950518d501369b7d0e9..38ca8122bc24c757e201579be864032a4a445df1 100644 --- a/dnn/torch/testsuite/run_test.py +++ b/dnn/torch/testsuite/run_test.py @@ -1,7 +1,5 @@ - -from genericpath import isfile import os -import multiprocessing +import multiprocess as multiprocessing import random import subprocess import argparse @@ -26,7 +24,6 @@ parser.add_argument('--num-workers', type=int, help="number of subprocesses to b parser.add_argument('--plc-suffix', type=str, default="_is_lost.txt", help="suffix of plc error pattern file: only relevant if command chain uses PLCFILE (default=_is_lost.txt)") parser.add_argument('--metrics', type=str, default='warpq', help='comma separated string of metrics, supported: {{"warpq", "pesq"}}, default="warpq"') - def check_for_sox_in_path(): r = subprocess.run("sox -h", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) return r.returncode == 0