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
d6880d2c7c
commit
b9e3a6bac3
Binary file not shown.
@ -509,7 +509,7 @@ class Data2VecAudioModel(BaseFairseqModel):
|
||||
conv_feat_all = torch.cat([conv_feat_all, features[i]])
|
||||
|
||||
randint = np.random.randint(10000)
|
||||
np.save(f'/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/{sid}/{randint}.npy', conv_feat_all.cpu().numpy())
|
||||
np.save(f'{spk_dir}/{randint}.npy', conv_feat_all.cpu().numpy())
|
||||
|
||||
prompt = prompt.expand((features.size()[0], prompt.size()[0], prompt.size()[1]))
|
||||
features = torch.cat([prompt, features], dim=1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user