1
0
mirror of synced 2024-11-27 17:00:54 +01:00

fix: models logger

This commit is contained in:
源文雨 2023-09-02 12:14:55 +08:00
parent b3f22dcdef
commit 46f42fff76

View File

@ -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):