We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d990533 commit f95d997Copy full SHA for f95d997
preprocess.py
@@ -40,7 +40,7 @@ def write_metadata(metadata, out_dir):
40
in_dir = args["<in_dir>"]
41
out_dir = args["<out_dir>"]
42
num_workers = args["--num_workers"]
43
- num_workers = cpu_count() if num_workers is None else num_workers
+ num_workers = cpu_count() if num_workers is None else int(num_workers)
44
45
assert name in ["jsut", "ljspeech", "vctk"]
46
mod = importlib.import_module(name)
0 commit comments