Skip to content

Commit f95d997

Browse files
authored
Fix typo in preprocess
1 parent d990533 commit f95d997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def write_metadata(metadata, out_dir):
4040
in_dir = args["<in_dir>"]
4141
out_dir = args["<out_dir>"]
4242
num_workers = args["--num_workers"]
43-
num_workers = cpu_count() if num_workers is None else num_workers
43+
num_workers = cpu_count() if num_workers is None else int(num_workers)
4444

4545
assert name in ["jsut", "ljspeech", "vctk"]
4646
mod = importlib.import_module(name)

0 commit comments

Comments
 (0)