mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
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
|
||||
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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user