mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
s2_train_v3tqdm进度条修复
s2_train_v3tqdm进度条修复
This commit is contained in:
parent
8e9e3c07d5
commit
86acb7a89d
@ -281,7 +281,7 @@ def train_and_evaluate(
|
||||
# text,
|
||||
# text_lengths,
|
||||
# ) in enumerate(tqdm(train_loader)):
|
||||
for batch_idx, (ssl, spec, mel, ssl_lengths, spec_lengths, text, text_lengths, mel_lengths) in tqdm(enumerate(train_loader)):
|
||||
for batch_idx, (ssl, spec, mel, ssl_lengths, spec_lengths, text, text_lengths, mel_lengths) in enumerate(tqdm(train_loader)):
|
||||
if torch.cuda.is_available():
|
||||
spec, spec_lengths = spec.cuda(rank, non_blocking=True), spec_lengths.cuda(
|
||||
rank, non_blocking=True
|
||||
|
Loading…
x
Reference in New Issue
Block a user