mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 15:19:59 +08:00
Update utils.py
This commit is contained in:
parent
fb4220a96a
commit
e62c035c96
@ -208,7 +208,7 @@ def make_reject_y(y_o, y_lens):
|
||||
bs = len(y_lens)
|
||||
reject_y = []
|
||||
reject_y_lens = []
|
||||
proportion=0.9 # repeat/total
|
||||
proportion=0.5 # repeat/total
|
||||
for b in range(bs):
|
||||
process_item_idx = torch.rand(1)
|
||||
if process_item_idx < proportion:
|
||||
|
Loading…
x
Reference in New Issue
Block a user