From a9581743e58e7ce7b8a429fe50ccd9517278e9e4 Mon Sep 17 00:00:00 2001 From: jstzwj <1103870790@qq.com> Date: Tue, 15 Nov 2022 02:00:47 +0800 Subject: [PATCH] rename hubconf --- hub_conf.py => hubconf.py | 0 test.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename hub_conf.py => hubconf.py (100%) diff --git a/hub_conf.py b/hubconf.py similarity index 100% rename from hub_conf.py rename to hubconf.py diff --git a/test.py b/test.py index 41e6ce0..e0a9a21 100644 --- a/test.py +++ b/test.py @@ -2,8 +2,8 @@ from hifigan.mel_processing import mel_spectrogram_torch -# Load checkpoint (either hubert_soft or hubert_discrete) -hifigan = torch.hub.load("vtuber-plan/hifi-gan:main", "HifiGANGenerator").cuda() +# Load checkpoint +hifigan = torch.hub.load("vtuber-plan/hifi-gan:main", "HifiGANGenerator", force_reload=True).cuda() # Load audio wav, sr = torchaudio.load("test.wav")