diff --git a/paddlespeech/vector/cluster/diarization.py b/paddlespeech/vector/cluster/diarization.py index c3dbb120a367cee0df737caafc85e581347094b8..9fda019e01e40965cce0786640c31504a9d9bcdd 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 78a02a326331ef3a95b5fa9d145dfdbe722b0db5..81def435692fc8ad77cc87ac79a814235b74987e 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)