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
1d1d455593
commit
4d7559e53b
Binary file not shown.
@ -974,10 +974,9 @@ def run(rank, world_size, args):
|
|||||||
pre_trained2 = torch.load(path2)
|
pre_trained2 = torch.load(path2)
|
||||||
pre_trained_model2 = pre_trained2["model"]
|
pre_trained_model2 = pre_trained2["model"]
|
||||||
|
|
||||||
for n, p in pre_trained_model2.items():
|
#for n, p in pre_trained_model2.items():
|
||||||
if rank == 0:
|
# if rank == 0:
|
||||||
print(n)
|
# print(n)
|
||||||
exit()
|
|
||||||
|
|
||||||
for n, p in model.named_parameters():
|
for n, p in model.named_parameters():
|
||||||
if 'layer' not in n:
|
if 'layer' not in n:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user