[vec][score] update Copyright, test=doc fix #1667

pull/1681/head
qingen 2 years ago
parent 44c6623448
commit 8d9bd9a93a

@ -1,4 +1,4 @@
# Copyright (c) 2022 SpeechBrain Authors. All Rights Reserved.
# Copyright (c) 2022 PaddlePaddle and SpeechBrain Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

@ -1,4 +1,4 @@
# Copyright (c) 2022 SpeechBrain Authors. All Rights Reserved.
# Copyright (c) 2022 PaddlePaddle and SpeechBrain Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -569,7 +569,7 @@ if __name__ == '__main__':
te_sgs = ['te' + str(i) for i in range(te_N)]
te_sets = numpy.array(te_sgs, dtype="|O")
te_stat = EmbeddingMeta(modelset=te_sets, segset=te_sets, stats=te_xv)
ndx = Ndx(models=en_sets, testsegs=te_sets)
ndx = Ndx(models=en_sets, testsegs=te_sets) # trials
# PLDA Scoring
scores_plda = plda.scoring(en_stat, te_stat, ndx)
print(scores_plda.scoremat.shape) #(20, 30)

Loading…
Cancel
Save