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
025486c789
commit
d6880d2c7c
Binary file not shown.
@ -496,6 +496,7 @@ class Data2VecAudioModel(BaseFairseqModel):
|
|||||||
spk_dir = f'/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/{sid}'
|
spk_dir = f'/home/work/workspace/icefall/egs/librispeech/ASR/conv_feat/{sid}'
|
||||||
if not os.path.isdir(spk_dir):
|
if not os.path.isdir(spk_dir):
|
||||||
os.mkdir(spk_dir)
|
os.mkdir(spk_dir)
|
||||||
|
|
||||||
conv_feat_all = torch.tensor([]).to(features.device)
|
conv_feat_all = torch.tensor([]).to(features.device)
|
||||||
length = 0
|
length = 0
|
||||||
for i in range(padding_mask.size()[0]):
|
for i in range(padding_mask.size()[0]):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user