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
0d54fccfd9
commit
bf93d56715
Binary file not shown.
@ -157,7 +157,7 @@ class FairSeqData2VecEncoder(EncoderInterface):
|
||||
logging.info("Pretrained data2vec model parameters reloaded!")
|
||||
|
||||
|
||||
def download_w2v(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='./models'):
|
||||
os.makedirs(dir_path, exist_ok=True)
|
||||
|
||||
model_name = model_url.split("/")[-1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user