from local

This commit is contained in:
dohe0342 2023-04-27 16:34:11 +09:00
parent befdbe2b1e
commit 5ee1ecbd27
2 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ class Transducer(nn.Module):
self.sid = sid
if prompt:
#self.prompt = torch.randn((200, 512), requires_grad=True)
statistic = open('/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/2094/2094_statistic.txt', 'r').readlines()
statistic = open(f'/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/{self.sid}/2094_statistic.txt', 'r').readlines()
self.prompt = torch.nn.Parameter(torch.rand((50, 512)))
print(self.prompt)