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
173acdb09a
commit
fa658ce0cf
Binary file not shown.
@ -0,0 +1,10 @@
|
||||
import torch
|
||||
|
||||
base_model = torch.load('./d2v-base-T.pt')
|
||||
bias_model = torch.load('./bitfit_2414_v2/checkpoint-100.pt')
|
||||
|
||||
base_model, bias_model = base_model['model'], bias_model['model']
|
||||
|
||||
for key in base_model.keys():
|
||||
if 'bias' in key:
|
||||
print(key, base_model[key], bias_model[key])
|
||||
Loading…
x
Reference in New Issue
Block a user