from local

This commit is contained in:
dohe0342 2023-01-04 14:05:48 +09:00
parent 4ba8ac806f
commit 880b36b4b6
2 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ class Conformer(EncoderInterface):
- lengths, a tensor of shape (batch_size,) containing the number
of frames in `embeddings` before padding.
"""
print(self.sigmoid(self.alpha))
exit()
#print(self.sigmoid(self.alpha))
#exit()
x = self.encoder_embed(x)
x, pos_emb = self.encoder_pos(x)
x = x.permute(1, 0, 2) # (N, T, C) -> (T, N, C)