Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kan-bayashi committed Aug 18, 2020
1 parent 4f409cc commit 93dfc81
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 @@ -334,7 +334,7 @@ def download_pretrained_model(tag, download_dir=None):
os.makedirs(f"{download_dir}", exist_ok=True)
if not os.path.exists(output_path):
import gdown
gdown.download(f"https://drive.google.com/uc?id={id_}", output_path)
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")
Expand Down

0 comments on commit 93dfc81

Please sign in to comment.