sprocket
sprocket copied to clipboard
sklearn error using version 0.24
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.