[mlpack-git] [mlpack] LoadSave Unit test fails Windows x64 (#468)

Joseph Mariadassou notifications at github.com
Sat Nov 7 04:57:04 EST 2015


All the other tests are passing except raw ascii. I tried to debug. It looks like tellg() is returning a strange value when the file is opened as text. If I modify the code to open as binary then binary file read fails. Luckily  arma_ascii works. I could not repro the csv isssue mentioned earlier.


[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(194): fatal error: in "LoadSaveTest/SaveArmaASCIITest": critical check data::Load("test_file.txt", test) == true has failed
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(220): fatal error: in "LoadSaveTest/LoadRawASCIITest": critical check data::Load("test_file.txt", test) == true has failed
[WARN ] Unable to detect type of 'test_file.txt'; load failed. Incorrect extension?
../load_save_test.cpp(246): fatal error: in "LoadSaveTest/LoadCSVTxtTest": critical check data::Load("test_file.txt", test) == true has failed


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


More information about the mlpack-git mailing list