"test/git@developer.sourcefind.cn:change/sglang.git" did not exist on "46ccbed2cd42645c6b4633e30acd7c96291dbd9b"
Fix Phonemizer download (#1897)
If `torch.hub` is never used, the cache directory "~/.cach/torch/hub/checkpoints/" does not exist, and the attempt to download DeepPhonemizer checkpoint there would fail. This commit fixes it by calling `os.makedirs(directory, exit_ok=True)`.
Showing
Please register or sign in to comment