mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update umap import
This commit is contained in:
parent
0281b70896
commit
2d078a26fe
@ -118,7 +118,7 @@ class UmapHdbscan:
|
|||||||
self.metric = metric
|
self.metric = metric
|
||||||
|
|
||||||
def __call__(self, X):
|
def __call__(self, X):
|
||||||
from umap.umap_ import UMAP
|
import umap.umap_ as umap
|
||||||
umap_X = umap.UMAP(
|
umap_X = umap.UMAP(
|
||||||
n_neighbors=self.n_neighbors,
|
n_neighbors=self.n_neighbors,
|
||||||
min_dist=0.0,
|
min_dist=0.0,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user