Merge pull request #206 from svc-develop-team/4.1-Latest

latest to stable
This commit is contained in:
YuriHead 2023-05-29 14:23:20 +08:00 committed by GitHub
commit fc999a476c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,8 @@ def evaluate(hps, generator, eval_loader, writer_eval):
c = c[:1].cuda(0)
f0 = f0[:1].cuda(0)
uv= uv[:1].cuda(0)
volume = volume[:1].cuda(0)
if volume!=None:
volume = volume[:1].cuda(0)
mel = spec_to_mel_torch(
spec,
hps.data.filter_length,