Open andrey-chu opened 4 years ago
In hmm.py logsumexp is imported as: from scipy.misc import logsumexp however in the new versions of scipy logsumexp was moved to scipy.special, therefore it should be:
from scipy.special import logsumexp
if it helps, here's a workaround
sys.modules['scipy.misc.logsumexp'] = scipy.special.logsumexp import seqlearn
In hmm.py logsumexp is imported as: from scipy.misc import logsumexp however in the new versions of scipy logsumexp was moved to scipy.special, therefore it should be:
from scipy.special import logsumexp