[mlpack-git] [mlpack] Saving and Loading Submatrices (#400)

mikemodanoxxx notifications at github.com
Fri Feb 6 03:35:08 EST 2015


Hi there,

there seems to be a problem when saving submatrices with the SaveRestoreUtility. When saving a normal object arma::mat obj, the elements are separated by commas. When saving something like obj.cols(0, 2), the elements are separated by pure whitespace. When loading such an object again into an arma::mat, only the first column of the data is loaded. The difference results from the specialisation for arma::mat matrices in the SaveRestoreUtility class. I don't know why this was implemented, as it works fine when the specialisation is just commented out (that's why I suggest that for solving the problem).

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150206/0ff85dcd/attachment.html>


More information about the mlpack-git mailing list