Skip to content

sklearn error using version 0.24 #150

@unilight

Description

@unilight

For those encountering the following error:

Traceback (most recent call last):
  File "run_sprocket.py", line 36, in <module>
    from src import (convert, estimate_feature_statistics, estimate_twf_and_jnt,  # isort:skip # pylint: disable=C0413
  File "/mnt/md1/user_unilight/experiments/elvc-sprocket/example/src/convert.py", line 17, in <module>
    from sprocket.model import GV, F0statistics, GMMConvertor
  File "/mnt/md1/user_unilight/experiments/elvc-sprocket/sprocket/model/__init__.py", line 1, in <module>
    from .GMM import GMMTrainer, GMMConvertor
  File "/mnt/md1/user_unilight/experiments/elvc-sprocket/sprocket/model/GMM.py", line 6, in <module>
    from sklearn.mixture.gaussian_mixture import _compute_precision_cholesky
ModuleNotFoundError: No module named 'sklearn.mixture.gaussian_mixture'

I followed this link: https://stackoverflow.com/questions/57489266/modulenotfounderror-no-module-named-sklearn-mixture-gmm, and successfully avoided such an error after downgrading from 0.24 to 0.19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions