"examples/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "b645c07b15623fce1148ec82101ab0fe87efd988"
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