so_vits_svc_fork.cluster package

so_vits_svc_fork.cluster.check_speaker(model: Any, speaker: Any)[source]
so_vits_svc_fork.cluster.get_center(model: Any, x: Any, speaker: Any)[source]
so_vits_svc_fork.cluster.get_cluster_center_result(model: Any, x: Any, speaker: Any)[source]

x: np.array [t, 256]

so_vits_svc_fork.cluster.get_cluster_model(ckpt_path: Path | str)[source]
so_vits_svc_fork.cluster.get_cluster_result(model: Any, x: Any, speaker: Any)[source]

x: np.array [t, 256] return cluster class result

Submodules

so_vits_svc_fork.cluster.train_cluster module

so_vits_svc_fork.cluster.train_cluster.main(input_dir: Path | str, output_path: Path | str, n_clusters: int = 10000, use_minibatch: bool = True, batch_size: int = 4096, partial_fit: bool = False, verbose: bool = False) None[source]
so_vits_svc_fork.cluster.train_cluster.train_cluster(input_dir: Path | str, n_clusters: int, use_minibatch: bool = True, batch_size: int = 4096, partial_fit: bool = False, verbose: bool = False) dict[source]