From 8d9bd9a93a1e9f067321af24cbddd47ac92c22f5 Mon Sep 17 00:00:00 2001 From: qingen Date: Mon, 11 Apr 2022 10:56:21 +0800 Subject: [PATCH] [vec][score] update Copyright, test=doc fix #1667 --- paddlespeech/vector/cluster/diarization.py | 2 +- paddlespeech/vector/cluster/plda.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/paddlespeech/vector/cluster/diarization.py b/paddlespeech/vector/cluster/diarization.py index c3dbb120..9fda019e 100644 --- a/paddlespeech/vector/cluster/diarization.py +++ b/paddlespeech/vector/cluster/diarization.py @@ -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. diff --git a/paddlespeech/vector/cluster/plda.py b/paddlespeech/vector/cluster/plda.py index 78a02a32..81def435 100644 --- a/paddlespeech/vector/cluster/plda.py +++ b/paddlespeech/vector/cluster/plda.py @@ -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) -- GitLab