[mlpack-git] [mlpack] Can not load csv file on windows (#467)

stereomatchingkiss notifications at github.com
Thu Oct 29 20:45:19 EDT 2015


When I try to load a csv file as following, 

    0 1 2 3
    4 5 6 7

it always complain 

>Unable to detect type of 'softmax_data.txt'; incorrect extension?

Codes : 

    arma::mat trainData;
    data::Load("train.csv", trainData, true);

After checking, I bet that the csv file on windows(edit by notepad++) do not fit the load type of armadillo.
The load type return by

    arma::diskio::guess_file_type(stream) 

is 0.Maybe this is a bug of armadillo?

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


More information about the mlpack-git mailing list