<p>I'm sorry, I'm unclear on what is going on.  I think that your problem is that you built your <code>S2_Model.xml</code> file with an old version of <code>hmm_train</code> and you need to rebuild it with the new <code>hmm_train</code> version.  You can get the version of the program with the <code>-V</code> option: <code>hmm_train -V</code> or <code>hmm_viterbi -V</code>.  The two programs should be of the same version.</p>

<p>As a side note, the file format should not change after the next release of mlpack, but at the moment the serialization support is experimental and subject to change.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/486#issuecomment-160753515">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDqaY2bkxAJiP0hBPbEa2uRurftrks5pLKo5gaJpZM4Grtkx.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/486#issuecomment-160753515"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>