Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kan-bayashi committed Aug 18, 2020
1 parent 93dfc81 commit 1ca8781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parallel_wavegan/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,6 @@ def download_pretrained_model(tag, download_dir=None):
gdown.download(f"https://drive.google.com/uc?id={id_}", output_path, quiet=False)
with tarfile.open(output_path, 'r:*') as tar:
tar.extractall(f"{download_dir}/{tag}")
checkpoint_path = find_files(f"{download_dir}/{tag}", "*.pkl")
checkpoint_path = find_files(f"{download_dir}/{tag}", "checkpoint*.pkl")

return checkpoint_path[0]

0 comments on commit 1ca8781

Please sign in to comment.