from local
This commit is contained in:
parent
befdbe2b1e
commit
5ee1ecbd27
Binary file not shown.
@ -82,7 +82,7 @@ class Transducer(nn.Module):
|
|||||||
self.sid = sid
|
self.sid = sid
|
||||||
if prompt:
|
if prompt:
|
||||||
#self.prompt = torch.randn((200, 512), requires_grad=True)
|
#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)))
|
self.prompt = torch.nn.Parameter(torch.rand((50, 512)))
|
||||||
print(self.prompt)
|
print(self.prompt)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user