Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- knakul853@knakul853-HP-Laptop-15-bs1xx:~/Desktop/mlpack/mlpack/build$ make -j4
- [ 1%] Updating arma_config.hpp (if necessary)
- [ 1%] Updating gitversion.hpp (if necessary)
- [ 1%] Built target mlpack_arma_config
- -- Found Git: /usr/bin/git (found version "2.7.4")
- -- gitversion.hpp is already up to date.
- [ 1%] Built target mlpack_gitversion
- Moving header files to include/mlpack/
- [ 1%] Built target mlpack_headers
- [ 1%] Generating mlpack.pc (pkg-config) file.
- [ 1%] Built target pkgconfig
- Scanning dependencies of target mlpack
- [ 1%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/softmax_regression/softmax_regression.cpp.o
- [ 1%] Linking CXX shared library ../../lib/libmlpack.so
- [ 10%] Built target mlpack
- [ 11%] Linking CXX executable ../../../../bin/mlpack_approx_kfn
- [ 11%] Linking CXX executable ../../../../bin/mlpack_adaboost
- [ 11%] Linking CXX executable ../../../../bin/mlpack_cf
- [ 11%] Built target python_copy
- [ 12%] Linking CXX executable ../../../../bin/mlpack_dbscan
- [ 12%] Built target mlpack_approx_kfn
- [ 12%] Linking CXX executable ../../../../bin/mlpack_decision_stump
- [ 12%] Built target mlpack_adaboost
- [ 12%] Built target mlpack_cf
- [ 12%] Linking CXX executable ../../../../bin/mlpack_decision_tree
- [ 13%] Linking CXX executable ../../../../bin/mlpack_det
- [ 13%] Built target mlpack_decision_stump
- [ 13%] Built target mlpack_dbscan
- [ 13%] Linking CXX executable ../../../../bin/mlpack_emst
- [ 13%] Linking CXX executable ../../../../bin/mlpack_fastmks
- [ 13%] Built target mlpack_det
- [ 13%] Built target mlpack_emst
- [ 13%] Linking CXX executable ../../../../bin/mlpack_gmm_generate
- [ 14%] Linking CXX executable ../../../../bin/mlpack_gmm_train
- [ 14%] Built target mlpack_decision_tree
- [ 14%] Linking CXX executable ../../../../bin/mlpack_gmm_probability
- [ 14%] Built target mlpack_gmm_generate
- [ 14%] Linking CXX executable ../../../../bin/mlpack_hmm_loglik
- [ 14%] Built target mlpack_gmm_train
- [ 14%] Linking CXX executable ../../../../bin/mlpack_hmm_train
- [ 14%] Built target mlpack_gmm_probability
- [ 14%] Linking CXX executable ../../../../bin/mlpack_hmm_viterbi
- [ 14%] Built target mlpack_hmm_loglik
- [ 14%] Linking CXX executable ../../../../bin/mlpack_hmm_generate
- [ 14%] Built target mlpack_fastmks
- [ 14%] Linking CXX executable ../../../../bin/mlpack_hoeffding_tree
- [ 15%] Built target mlpack_hmm_train
- [ 15%] Built target mlpack_hmm_viterbi
- [ 15%] Linking CXX executable ../../../../bin/mlpack_kde
- [ 15%] Linking CXX executable ../../../../bin/mlpack_kernel_pca
- [ 15%] Built target mlpack_hmm_generate
- [ 15%] Linking CXX executable ../../../../bin/mlpack_kmeans
- [ 15%] Built target mlpack_kernel_pca
- [ 15%] Linking CXX executable ../../../../bin/mlpack_lars
- [ 15%] Built target mlpack_kmeans
- [ 15%] Built target mlpack_hoeffding_tree
- [ 15%] Linking CXX executable ../../../../bin/mlpack_linear_regression
- [ 15%] Built target mlpack_lars
- [ 15%] Linking CXX executable ../../../../bin/mlpack_linear_svm
- [ 15%] Linking CXX executable ../../../../bin/mlpack_lmnn
- [ 15%] Built target mlpack_linear_regression
- [ 15%] Linking CXX executable ../../../../bin/mlpack_local_coordinate_coding
- [ 16%] Built target mlpack_linear_svm
- [ 16%] Linking CXX executable ../../../../bin/mlpack_logistic_regression
- [ 16%] Built target mlpack_lmnn
- [ 16%] Built target mlpack_local_coordinate_coding
- [ 17%] Linking CXX executable ../../../../bin/mlpack_mean_shift
- [ 17%] Linking CXX executable ../../../../bin/mlpack_lsh
- [ 18%] Built target mlpack_logistic_regression
- [ 18%] Linking CXX executable ../../../../bin/mlpack_nbc
- [ 18%] Built target mlpack_mean_shift
- [ 19%] Built target mlpack_kde
- [ 19%] Linking CXX executable ../../../../bin/mlpack_nca
- [ 20%] Linking CXX executable ../../../../bin/mlpack_kfn
- [ 20%] Built target mlpack_lsh
- [ 20%] Linking CXX executable ../../../../bin/mlpack_knn
- [ 20%] Built target mlpack_nbc
- [ 20%] Built target mlpack_nca
- [ 20%] Linking CXX executable ../../../../bin/mlpack_pca
- [ 21%] Linking CXX executable ../../../../bin/mlpack_nmf
- [ 21%] Built target mlpack_pca
- [ 21%] Built target mlpack_nmf
- [ 21%] Linking CXX executable ../../../../bin/mlpack_perceptron
- [ 21%] Linking CXX executable ../../../../bin/mlpack_preprocess_scale
- [ 21%] Built target mlpack_perceptron
- [ 21%] Linking CXX executable ../../../../bin/mlpack_preprocess_binarize
- [ 21%] Built target mlpack_preprocess_scale
- [ 22%] Linking CXX executable ../../../../bin/mlpack_preprocess_describe
- [ 22%] Built target mlpack_preprocess_binarize
- [ 22%] Linking CXX executable ../../../../bin/mlpack_preprocess_split
- [ 22%] Built target mlpack_preprocess_describe
- [ 22%] Linking CXX executable ../../../../bin/mlpack_preprocess_imputer
- [ 23%] Built target mlpack_preprocess_split
- [ 23%] Linking CXX executable ../../../../bin/mlpack_radical
- [ 23%] Built target mlpack_preprocess_imputer
- [ 23%] Linking CXX executable ../../../../bin/mlpack_random_forest
- [ 23%] Built target mlpack_radical
- [ 23%] Linking CXX executable ../../../../bin/mlpack_range_search
- [ 23%] Built target mlpack_random_forest
- [ 24%] Linking CXX executable ../../../../bin/mlpack_krann
- [ 24%] Built target mlpack_kfn
- [ 24%] Built target mlpack_knn
- Scanning dependencies of target mlpack_softmax_regression
- [ 25%] Linking CXX executable ../../../../bin/mlpack_sparse_coding
- [ 25%] Building CXX object src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o
- [ 25%] Built target mlpack_sparse_coding
- [ 26%] Built target mlpack_range_search
- [ 27%] Configuring setup.py...
- -- Run with /usr/lib/x86_64-linux-gnu/libboost_serialization.so.
- [ 27%] Built target python_configure
- [ 27%] Built target mlpack_krann
- Scanning dependencies of target mlpack_test
- [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o
- [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o
- In file included from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/mlpack_main.hpp:89:0,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:13:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1182:40: error: template argument 1 is invalid
- static mlpack::util::Option<TYPE*> \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: expression list treated as compound expression in initializer [-fpermissive]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: left operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: cannot convert ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘int’ in initialization
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1182:40: error: template argument 1 is invalid
- static mlpack::util::Option<TYPE*> \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: expression list treated as compound expression in initializer [-fpermissive]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: left operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: cannot convert ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘int’ in initialization
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp: In function ‘void mlpackMain()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:161:20: error: missing template arguments before ‘*’ token
- SoftmaxRegression* sm = TrainSoftmax<SoftmaxRegression>(maxIterations);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:161:22: error: ‘sm’ was not declared in this scope
- SoftmaxRegression* sm = TrainSoftmax<SoftmaxRegression>(maxIterations);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:161:72: error: no matching function for call to ‘TrainSoftmax(const int&)’
- SoftmaxRegression* sm = TrainSoftmax<SoftmaxRegression>(maxIterations);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:130:8: note: candidate: template<class Model> Model* TrainSoftmax(size_t)
- Model* TrainSoftmax(const size_t maxIterations);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:130:8: note: template argument deduction/substitution failed:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:165:8: error: parse error in template argument list
- CLI::GetParam<SoftmaxRegression*>("output_model") = sm;
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:165:51: error: no matching function for call to ‘mlpack::CLI::GetParam(const char [13])’
- CLI::GetParam<SoftmaxRegression*>("output_model") = sm;
- ^
- In file included from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/cli.hpp:329:0,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:12:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/cli_impl.hpp:36:4: note: candidate: template<class T> static T& mlpack::CLI::GetParam(const string&)
- T& CLI::GetParam(const std::string& identifier)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/cli_impl.hpp:36:4: note: template argument deduction/substitution failed:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:165:51: error: template argument 1 is invalid
- CLI::GetParam<SoftmaxRegression*>("output_model") = sm;
- ^
- In file included from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/mlpack_main.hpp:89:0,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:13:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp: At global scope:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:12: warning: ‘cli_option_dummy_model_6’ defined but not used [-Wunused-variable]
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1112:26: note: in definition of macro ‘JOIN_AGAIN’
- #define JOIN_AGAIN(x, y) x ## y
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:7: note: in expansion of macro ‘JOIN’
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:12: warning: ‘cli_option_dummy_model_7’ defined but not used [-Wunused-variable]
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1112:26: note: in definition of macro ‘JOIN_AGAIN’
- #define JOIN_AGAIN(x, y) x ## y
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:7: note: in expansion of macro ‘JOIN’
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/build.make:62: recipe for target 'src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o' failed
- make[2]: *** [src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o] Error 1
- CMakeFiles/Makefile2:7473: recipe for target 'src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/all' failed
- make[1]: *** [src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/all] Error 2
- make[1]: *** Waiting for unfinished jobs....
- [ 28%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/dcgan_test.cpp.o
- /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
- warnings.warn(msg)
- /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
- warnings.warn(msg)
- running build
- running build_py
- copying ./mlpack/matrix_utils.py -> build/lib.linux-x86_64-2.7/mlpack
- [ 28%] Built target python_configured
- [ 28%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/gan_test.cpp.o
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::PredictionsTypeTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:216:62: error: no matching function for call to ‘CheckPredictionsType()’
- CheckPredictionsType<SoftmaxRegression, arma::Row<size_t>>();
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:198:6: note: candidate: template<class Class, class ExpectedPT, class PassedMT, class PassedPT> void CVTest::CheckPredictionsType()
- void CheckPredictionsType()
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:198:6: note: template argument deduction/substitution failed:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::TakesDatasetInfoTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:279:53: error: type/value mismatch at argument 1 in template parameter list for ‘template<class MLAlgorithm, class MT, class PT, class WT> class mlpack::cv::MetaInfoExtractor’
- static_assert(!MetaInfoExtractor<SoftmaxRegression>::TakesDatasetInfo,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:279:53: note: expected a type, got ‘SoftmaxRegression’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::TakesNumClassesTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:291:52: error: type/value mismatch at argument 1 in template parameter list for ‘template<class MLAlgorithm, class MT, class PT, class WT> class mlpack::cv::MetaInfoExtractor’
- static_assert(MetaInfoExtractor<SoftmaxRegression>::TakesNumClasses,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:291:52: note: expected a type, got ‘SoftmaxRegression’
- In file included from /usr/include/ensmallen_bits/sgd/sgd.hpp:252:0,
- from /usr/include/ensmallen_bits/ada_delta/ada_delta.hpp:19,
- from /usr/include/ensmallen.hpp:75,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:11:
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp: In instantiation of ‘typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; GradType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type = double]’:
- /usr/include/ensmallen_bits/sgd/sgd.hpp:137:26: required from ‘typename MatType::elem_type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename MatType::elem_type = double]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:73:76: required from ‘double mlpack::regression::SoftmaxRegression<MatType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, OptimizerType, CallbackTypes&& ...) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; CallbackTypes = {ens::PrintLoss}; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:206:27: required from here
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:86:46: error: ‘FullFunctionType {aka class ens::Function<mlpack::regression::SoftmaxRegressionFunction, arma::Mat<double>, arma::Mat<double> >}’ has no member named ‘NumFunctions’
- const size_t numFunctions = f.NumFunctions();
- ^
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp: In instantiation of ‘typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; GradType = arma::Mat<double>; CallbackTypes = {}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type = double]’:
- /usr/include/ensmallen_bits/sgd/sgd.hpp:137:26: required from ‘typename MatType::elem_type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; CallbackTypes = {}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename MatType::elem_type = double]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:73:76: required from ‘double mlpack::regression::SoftmaxRegression<MatType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, OptimizerType, CallbackTypes&& ...) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; CallbackTypes = {}; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:34:8: required from ‘mlpack::regression::SoftmaxRegression<MatType>::SoftmaxRegression(const MatType&, const arma::Row<long unsigned int>&, size_t, double, bool, OptimizerType) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:203:80: required from here
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:86:46: error: ‘FullFunctionType {aka class ens::Function<mlpack::regression::SoftmaxRegressionFunction, arma::Mat<double>, arma::Mat<double> >}’ has no member named ‘NumFunctions’
- In file included from /usr/include/ensmallen_bits/function.hpp:24:0,
- from /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:20,
- from /usr/include/ensmallen_bits/sgd/sgd.hpp:252,
- from /usr/include/ensmallen_bits/ada_delta/ada_delta.hpp:19,
- from /usr/include/ensmallen.hpp:75,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:11:
- /usr/include/ensmallen_bits/function/static_checks.hpp: In instantiation of ‘void ens::traits::CheckDecomposableFunctionTypeAPI() [with FunctionType = ens::Function<mlpack::regression::SoftmaxRegressionFunction, arma::Mat<double>, arma::Mat<double> >; MatType = arma::Mat<double>; GradType = arma::Mat<double>]’:
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:78:20: required from ‘typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; GradType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type = double]’
- /usr/include/ensmallen_bits/sgd/sgd.hpp:137:26: required from ‘typename MatType::elem_type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename MatType::elem_type = double]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:73:76: required from ‘double mlpack::regression::SoftmaxRegression<MatType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, OptimizerType, CallbackTypes&& ...) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; CallbackTypes = {ens::PrintLoss}; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:206:27: required from here
- /usr/include/ensmallen_bits/function/static_checks.hpp:332:3: error: static assertion failed: The FunctionType does not have a correct definition of NumFunctions(). Please check that the FunctionType fully satisfies the requirements of the DecomposableFunctionType API; see the optimizer tutorial for more details.
- static_assert(CheckNumFunctions<FunctionType, MatType, GradType>::value,
- ^
- src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:452: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o' failed
- make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:627: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o' failed
- make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o] Error 1
- CMakeFiles/Makefile2:7764: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/all' failed
- make[1]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/all] Error 2
- Makefile:138: recipe for target 'all' failed
- make: *** [all] Error 2
Add Comment
Please, Sign In to add comment