diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.bias_compare.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.bias_compare.py.swp index 52c2c0ffe..78fdb4ed1 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.bias_compare.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.bias_compare.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/bias_compare.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/bias_compare.py index 503074557..971b362f9 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/bias_compare.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/bias_compare.py @@ -8,4 +8,4 @@ base_model, bias_model = base_model['model'], bias_model['model'] for key in base_model.keys(): if 'bias' in key: l1_diff = torch.abs(base_model[key]-bias_model[key]).sum() / base_model[key].size(0) - print(key, l1_diff, base_model[key].size()) + print(key, l1_diff.item())