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
cce20e5e83
commit
1e6fd34ab2
Binary file not shown.
@ -174,7 +174,7 @@ class FairSeqData2VecEncoder(EncoderInterface):
|
||||
logging.info("Pretrained data2vec model parameters reloaded!")
|
||||
|
||||
|
||||
def download_d2v(model_url='https://dl.fbaipublicfiles.com/fairseq/data2vec/audio_base_ls.pt', dir_path='./models'):
|
||||
def download_d2v(model_url='https://dl.fbaipublicfiles.com/fairseq/data2vec/audio_base_ls.pt', dir_path='./../../librispeech/ASR/models'):
|
||||
os.makedirs(dir_path, exist_ok=True)
|
||||
|
||||
model_name = model_url.split("/")[-1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user