Speaker diarization example with onnxruntime Python API (#1395)

This commit is contained in:
Fangjun Kuang
2024-10-06 16:37:29 +08:00
committed by GitHub
parent 5f50cbf65a
commit 70165cb42d
6 changed files with 719 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ class FastClustering::Impl {
std::vector<double> height(num_rows - 1);
fastclustercpp::hclust_fast(num_rows, distance.data(),
fastclustercpp::HCLUST_METHOD_SINGLE,
fastclustercpp::HCLUST_METHOD_COMPLETE,
merge.data(), height.data());
std::vector<int32_t> labels(num_rows);