SOTA Open Source TTS
Change model to large
Lengyue4705f61e711f
diff --git a/tools/vqgan/calculate_hubert_features.py b/tools/vqgan/calculate_hubert_features.pyindex b4567f1..cb5f32c 100644--- a/tools/vqgan/calculate_hubert_features.py+++ b/tools/vqgan/calculate_hubert_features.py@@ -35,7 +35,7 @@ logger.add(sys.stderr, format=logger_format)@lru_cache(maxsize=1)def get_hubert_model():- model = HubertModel.from_pretrained("TencentGameMate/chinese-hubert-base")+ model = HubertModel.from_pretrained("TencentGameMate/chinese-hubert-large")model = model.to(torch.device("cuda" if torch.cuda.is_available() else "cpu"))model = model.half()model.eval()