From fb4220a96ad274d6aa6573ca715beaa84b32a73c Mon Sep 17 00:00:00 2001 From: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Date: Thu, 2 May 2024 08:07:46 +0100 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20utils.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GPT_SoVITS/AR/models/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPT_SoVITS/AR/models/utils.py b/GPT_SoVITS/AR/models/utils.py index cd27552e..36d9354f 100644 --- a/GPT_SoVITS/AR/models/utils.py +++ b/GPT_SoVITS/AR/models/utils.py @@ -208,7 +208,7 @@ def make_reject_y(y_o, y_lens): bs = len(y_lens) reject_y = [] reject_y_lens = [] - proportion=0.5 # repeat/total + proportion=0.9 # repeat/total for b in range(bs): process_item_idx = torch.rand(1) if process_item_idx < proportion: