Closed jiajiexiao closed 5 years ago
conda.txt Conda env is attached.
hi @xiaoj12,
thanks for appreciating our software and this complete bug report. The message is caused by non-positive elements in one of the rows of the count matrix. However the posted stack trace is contradictory, because in the last file (discrete.py of bhmm), we are explicitly checking for positivity and omit non-positive elements in the dirichlet sampling step. The stack says it has executed the comment line, which can never be true. So I suspect that your conda environment is somehow broken (e.g. the used bhmm version is actually 0.6.2, while the extracted source code for the stack comes from 0.6.3). I have absolutely no idea, why this is happening, but the observation leads to no other clue. In addition you have two versions of numpy in the same environment, one from conda (outdated) and a recent one installed with pip). I strongly dis encourage the usage of mixed environments (sometimes it is inevitable, but this does not seem to be the case here). I bet, that the same estimation works perfectly in a fresh environment. Would please try it out?
for your convenience
conda create -n new pyemma
conda activate new
python your_estimation_script.py
@marscher Thank you so much for your quick reply. The issue was gone after I set up a new environment for pyemma. Greatly appreciated!
You're most welcome. Issues of this kind are very hard to fix on your own. It should be noted, that the problem likely arose from mixing pip with conda packages and having two pip versions (9.0 and a recent one) installed.
Hi,
Thanks for releasing and maintaining such a great package for markov modeling on MD data. I'm submitting an issue that I experienced when trying to creating hMM. The failure occurred with an error of alpha <= 0 for the situation calling Gibbs sampling for Baysian estimator. Detailed error can be seen below:
This also occurs for the following example:
Any clue what's wrong? How could the alpha value to be <= 0 and what does it mean? Many thanks!