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
000de01500
commit
ef3f177e84
Binary file not shown.
@ -967,11 +967,11 @@ def run(rank, world_size, args):
|
||||
model = get_transducer_model(params)
|
||||
|
||||
path1 = '/home/work/workspace/icefall/egs/librispeech/ASR/incremental_transf/conformer_12layers.pt'
|
||||
pre_trained1 = torch.load(path1)
|
||||
pre_trained1 = torch.load(path1, map_location="cpu")
|
||||
pre_trained_model1 = pre_trained1["model"]
|
||||
|
||||
path2 = '/home/work/workspace/icefall/egs/librispeech/ASR/incremental_transf/conformer_24layers.pt'
|
||||
pre_trained2 = torch.load(path2)
|
||||
pre_trained2 = torch.load(path2, map_location="cpu")
|
||||
pre_trained_model2 = pre_trained2["model"]
|
||||
|
||||
#for n, p in pre_trained_model2.items():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user