[mlpack-git] [mlpack] Test programs failing on loading data from disk (#597)

Ozair Shafiq notifications at github.com
Mon Mar 28 11:18:42 EDT 2016


I recently cloned the repository and tried to follow the build instructions given in README file and suggested by rcurtin to building with debug, profile = off, that will make the library execute faster for performance. I am compiling using the command 'cmake .. -DDEBUG=OFF -DPROFILE=OFF' and then installing by using 'sudo make install' in the build directory. Then, I run mlpack_test by ./mlpack_test -t FeedForwardNetworkTest and it fails. The error is

Running 3 test cases...
[FATAL] Cannot open file 'thyroid_train.csv'. 

unknown location(0): fatal error in "VanillaNetworkTest": std::runtime_error: fatal error; see Log::Fatal output
[FATAL] Cannot open file 'thyroid_train.csv'. 

unknown location(0): fatal error in "DropoutNetworkTest": std::runtime_error: fatal error; see Log::Fatal output
[FATAL] Cannot open file 'thyroid_train.csv'. 

unknown location(0): fatal error in "DropConnectNetworkTest": std::runtime_error: fatal error; see Log::Fatal output

*** 3 failures detected in test suite "mlpackTest"

I try running ./mlpack_test -t AllkNNTest and it fails aswell with a similar error.

Running 21 test cases...
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(666): fatal error in "DualTreeVsNaive1": Cannot load test dataset test_data_3_1000.csv!
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(700): fatal error in "DualTreeVsNaive2": Cannot load test dataset test_data_3_1000.csv!
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(735): fatal error in "SingleTreeVsNaive": Cannot load test dataset test_data_3_1000.csv!
unknown location(0): fatal error in "DualCoverTreeTest": std::invalid_argument: requested value of k (5) is greater than the number of points in the reference set (0)
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(787): last checkpoint
unknown location(0): fatal error in "DualBallTreeTest": std::invalid_argument: requested value of k (5) is greater than the number of points in the reference set (0)
/home/ozair/programming/mlpack/src/mlpack/tests/allknn_test.cpp(858): last checkpoint

*** 5 failures detected in test suite "mlpackTest"

I was very hesitant to make a topic about this here because I think its a problem on my end. But I've been trying to compile and build this using the instructions given and all the data-set files actually do exist in the build folder. I tried changing file permissions of the build folder using chmod command and that didn't work and I am not an expert in linux, hence I don't know what I am doing wrong.

I tried asking for solution for this on the IRC channel for a couple days now and with no response, hence, I am making the topic here.

Regards.



---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160328/18726058/attachment.html>


More information about the mlpack-git mailing list