markovmodel / PyEMMA

šŸš‚ Python API for Emma's Markov Model Algorithms šŸš‚
http://pyemma.org
GNU Lesser General Public License v3.0
310 stars 119 forks source link

Bayesian Hidden Markov model got an unexpected keyword argument 'desc' #1604

Open ShenWenHuibit opened 1 year ago

ShenWenHuibit commented 1 year ago

When I want to analyze Hidden Markov Network, I have the following problem

hmm=pyemma.msm.bayesian_hidden_markov_model(dtrajs,5, lag=30,stride=10, mincount_connectivity=0.2)

Sampling HMSMs: 0%| | 0/100 [00:00<?, ?it/s]Traceback (most recent call last): File "/home/xhshi/whshen/vscode/FDM-openmm-MSM/1PGB/rmsd3.0/pyemma/hmm.py", line 42, in hmm=pyemma.msm.bayesian_hidden_markov_model(dtrajs,5, lag=30,stride=10, mincount_connectivity=0.02) File "/home/xhshi/whshen/anaconda3/envs/workshop/lib/python3.9/site-packages/pyemma/msm/api.py", line 1375, in bayesian_hidden_markov_model return bhmsm_estimator.estimate(dtrajs) File "/home/xhshi/whshen/anaconda3/envs/workshop/lib/python3.9/site-packages/pyemma/_base/estimator.py", line 418, in estimate self._model = self._estimate(X) File "/home/xhshi/whshen/anaconda3/envs/workshop/lib/python3.9/site-packages/pyemma/msm/estimators/bayesian_hmsm.py", line 313, in _estimate estimator.fit(dtrajs, n_burn_in=0, n_thin=1, progress=progress) File "/home/xhshi/whshen/anaconda3/envs/workshop/lib/python3.9/site-packages/deeptime/base.py", line 417, in call return self.fit_method(*args, **kwargs) File "/home/xhshi/whshen/anaconda3/envs/workshop/lib/python3.9/site-packages/deeptime/markov/hmm/_bayesianhmm.py", line 610, in fit for in progress(range(self.n_samples), desc="Drawing samples", leave=False): TypeError: init() got an unexpected keyword argument 'desc' Sampling HMSMs: 0%| | 0/100 [11:47<?, ?it/s]

How can I solve this problem, thanks.

D16ERG commented 1 year ago

I encountered the same issue. Although this issue was also later mentioned in #1610 ; it has not been resolved AFAIK.