[mlpack-svn] [MLPACK] #358: hmm_convert fails for GMM HMM
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Sat Aug 9 14:02:58 EDT 2014
#358: hmm_convert fails for GMM HMM
--------------------------+-------------------------------------------------
Reporter: michaelfox99 | Owner: michaelfox99
Type: defect | Status: new
Priority: major | Milestone: mlpack 1.1.0
Component: mlpack | Keywords:
Blocking: | Blocked By:
--------------------------+-------------------------------------------------
HMMs are now stored in XML files as hierarchical models. This allows
saving / loading of HMMs with arbitrary emission distributions as long as
the distributions themselves implement Save() and Load() methods.
The new XML files for the HMMs are not backwards compatible. Towards this
end I added hmm_convert, an executable converter. While this works
correctly for DiscreteDistribution and GaussianDistribution types, it is
failing for GMM at runtime.
{{{
michael at michael-GA-78LMT-USB3:~/Documents$ hmm_convert -m old_model_1.xml
-o model1.xml
[DEBUG] Compiled with debugging symbols.
*** Error in `hmm_convert': free(): invalid pointer: 0x00007feef54d7dc8
***
Aborted (core dumped)
}}}
old_model_1.xml is a GMM HMM using the old flat format. This is despite
GMM::Save() and GMM::Load() working just fine and hmm_convert being
generic with respect to those calls. There are no explicit calls to free,
so I suspect its happening in libxml2.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/358>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.
More information about the mlpack-svn
mailing list