".github/vscode:/vscode.git/clone" did not exist on "28f9d84549c0b1d24ef00d69a4c723f3a11cffb6"
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