{"action":"created","issue":{"url":"https://api.github.com/repos/mlpack/mlpack/issues/340","labels_url":"https://api.github.com/repos/mlpack/mlpack/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/mlpack/mlpack/issues/340/comments","events_url":"https://api.github.com/repos/mlpack/mlpack/issues/340/events","html_url":"https://github.com/mlpack/mlpack/issues/340","id":53048232,"number":340,"title":"hmm_convert fails for GMM HMM","user":{"login":"rcurtin","id":1845039,"avatar_url":"https://avatars.githubusercontent.com/u/1845039?v=3","gravatar_id":"","url":"https://api.github.com/users/rcurtin","html_url":"https://github.com/rcurtin","followers_url":"https://api.github.com/users/rcurtin/followers","following_url":"https://api.github.com/users/rcurtin/following{/other_user}","gists_url":"https://api.github.com/users/rcurtin/gists{/gist_id}","starred_url":"https://api.github.com/users/rcurtin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcurtin/subscriptions","organizations_url":"https://api.github.com/users/rcurtin/orgs","repos_url":"https://api.github.com/users/rcurtin/repos","events_url":"https://api.github.com/users/rcurtin/events{/privacy}","received_events_url":"https://api.github.com/users/rcurtin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mlpack/mlpack/labels/D:%20moderate","name":"D: moderate","color":"207de5"},{"url":"https://api.github.com/repos/mlpack/mlpack/labels/P:%20minor","name":"P: minor","color":"ffaa22"},{"url":"https://api.github.com/repos/mlpack/mlpack/labels/T:%20defect","name":"T: defect","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mlpack/mlpack/milestones/1","html_url":"https://github.com/mlpack/mlpack/milestones/mlpack%201.1.0","labels_url":"https://api.github.com/repos/mlpack/mlpack/milestones/1/labels","id":916283,"number":1,"title":"mlpack 1.1.0","description":"This release is to flesh-out previously documented concepts which did not make it into the original release (as well as the possible addition of some other methods).\r\nConcepts to be fleshed out include:\r\n\r\n - Loading, saving, and validation (#177)\r\n - Output of classes to Log interface (#164)\r\n - Profile-guided optimization (#20)\r\n - Automatic benchmarks (#19)\r\n - Tree generalization (#156, #190)","creator":{"login":"rcurtin","id":1845039,"avatar_url":"https://avatars.githubusercontent.com/u/1845039?v=3","gravatar_id":"","url":"https://api.github.com/users/rcurtin","html_url":"https://github.com/rcurtin","followers_url":"https://api.github.com/users/rcurtin/followers","following_url":"https://api.github.com/users/rcurtin/following{/other_user}","gists_url":"https://api.github.com/users/rcurtin/gists{/gist_id}","starred_url":"https://api.github.com/users/rcurtin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcurtin/subscriptions","organizations_url":"https://api.github.com/users/rcurtin/orgs","repos_url":"https://api.github.com/users/rcurtin/repos","events_url":"https://api.github.com/users/rcurtin/events{/privacy}","received_events_url":"https://api.github.com/users/rcurtin/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":39,"state":"open","created_at":"2014-12-28T22:18:56Z","updated_at":"2015-07-13T15:42:08Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-12-29T15:31:46Z","updated_at":"2015-07-13T15:42:08Z","closed_at":"2015-07-13T15:42:08Z","body":"**Reported by michaelfox99 on 20 Feb 44607272 02:27 UTC**\nHMMs 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.\r\n\r\nThe 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.\r\n\r\n```\r\nmichael@michael-GA-78LMT-USB3:~/Documents$ hmm_convert -m old_model_1.xml -o model1.xml\r\n[DEBUG] Compiled with debugging symbols.\r\n*** Error in `hmm_convert': free(): invalid pointer: 0x00007feef54d7dc8 ***\r\nAborted (core dumped)\r\n```\r\n  \r\nold_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. \r\n \n\nMigrated-From: http://trac.research.cc.gatech.edu/fastlab/ticket/358"},"comment":{"url":"https://api.github.com/repos/mlpack/mlpack/issues/comments/120972578","html_url":"https://github.com/mlpack/mlpack/issues/340#issuecomment-120972578","issue_url":"https://api.github.com/repos/mlpack/mlpack/issues/340","id":120972578,"user":{"login":"rcurtin","id":1845039,"avatar_url":"https://avatars.githubusercontent.com/u/1845039?v=3","gravatar_id":"","url":"https://api.github.com/users/rcurtin","html_url":"https://github.com/rcurtin","followers_url":"https://api.github.com/users/rcurtin/followers","following_url":"https://api.github.com/users/rcurtin/following{/other_user}","gists_url":"https://api.github.com/users/rcurtin/gists{/gist_id}","starred_url":"https://api.github.com/users/rcurtin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcurtin/subscriptions","organizations_url":"https://api.github.com/users/rcurtin/orgs","repos_url":"https://api.github.com/users/rcurtin/repos","events_url":"https://api.github.com/users/rcurtin/events{/privacy}","received_events_url":"https://api.github.com/users/rcurtin/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T15:42:08Z","updated_at":"2015-07-13T15:42:08Z","body":"I'm going to close this for inactivity because the hmm_convert and gmm_convert programs have been removed now (maybe this will have to be reopened if someone complains about those utilities being gone...)."}}