From 46f42fff76017eb7f2d1e4f4632fcfc9d14dc1a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 2 Sep 2023 12:14:55 +0800 Subject: [PATCH] fix: models logger --- infer/lib/infer_pack/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/infer/lib/infer_pack/models.py b/infer/lib/infer_pack/models.py index 80127ed..ae9b7b4 100644 --- a/infer/lib/infer_pack/models.py +++ b/infer/lib/infer_pack/models.py @@ -617,7 +617,7 @@ class SynthesizerTrnMs256NSFsid(nn.Module): ) self.emb_g = nn.Embedding(self.spk_embed_dim, gin_channels) logger.debug( - "gin_channels: " + gin_channels + ", self.spk_embed_dim: " + self.spk_embed_dim + "gin_channels: " + str(gin_channels) + ", self.spk_embed_dim: " + str(self.spk_embed_dim) ) def remove_weight_norm(self): @@ -735,7 +735,7 @@ class SynthesizerTrnMs768NSFsid(nn.Module): ) self.emb_g = nn.Embedding(self.spk_embed_dim, gin_channels) logger.debug( - "gin_channels: " + gin_channels + ", self.spk_embed_dim: " + self.spk_embed_dim + "gin_channels: " + str(gin_channels) + ", self.spk_embed_dim: " + str(self.spk_embed_dim) ) def remove_weight_norm(self): @@ -850,7 +850,7 @@ class SynthesizerTrnMs256NSFsid_nono(nn.Module): ) self.emb_g = nn.Embedding(self.spk_embed_dim, gin_channels) logger.debug( - "gin_channels: " + gin_channels + ", self.spk_embed_dim: " + self.spk_embed_dim + "gin_channels: " + str(gin_channels) + ", self.spk_embed_dim: " + str(self.spk_embed_dim) ) def remove_weight_norm(self): @@ -958,7 +958,7 @@ class SynthesizerTrnMs768NSFsid_nono(nn.Module): ) self.emb_g = nn.Embedding(self.spk_embed_dim, gin_channels) logger.debug( - "gin_channels: " + gin_channels + ", self.spk_embed_dim: " + self.spk_embed_dim + "gin_channels: " + str(gin_channels) + ", self.spk_embed_dim: " + str(self.spk_embed_dim) ) def remove_weight_norm(self):