Snap
Browse files
vps_clustering_benchmark.py
CHANGED
@@ -64,7 +64,7 @@ class VPClusteringBenchmark(datasets.GeneratorBasedBuilder):
|
|
64 |
"speaker": datasets.Value("string"),
|
65 |
"duration": datasets.Value("float32"),
|
66 |
"segment_clean": datasets.Value("bool"),
|
67 |
-
"vp": datasets.
|
68 |
})
|
69 |
return datasets.DatasetInfo(
|
70 |
description=description,
|
@@ -95,5 +95,5 @@ class VPClusteringBenchmark(datasets.GeneratorBasedBuilder):
|
|
95 |
"speaker": row["speaker"],
|
96 |
"duration": row["duration"],
|
97 |
"segment_clean": row["segment_clean"],
|
98 |
-
"vp":
|
99 |
}
|
|
|
64 |
"speaker": datasets.Value("string"),
|
65 |
"duration": datasets.Value("float32"),
|
66 |
"segment_clean": datasets.Value("bool"),
|
67 |
+
"vp": datasets.Sequence(datasets.Value("float32"))
|
68 |
})
|
69 |
return datasets.DatasetInfo(
|
70 |
description=description,
|
|
|
95 |
"speaker": row["speaker"],
|
96 |
"duration": row["duration"],
|
97 |
"segment_clean": row["segment_clean"],
|
98 |
+
"vp": row["vp"].tolist() if isinstance(row["vp"], np.ndarray) else row["vp"]
|
99 |
}
|