Guest User

Untitled

a guest
Dec 18th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 36.08 KB | None | 0 0
  1. knakul853@knakul853-HP-Laptop-15-bs1xx:~/Desktop/mlpack/mlpack/build$ make -j4
  2. [  0%] Updating arma_config.hpp (if necessary)
  3. [  1%] Updating gitversion.hpp (if necessary)
  4. [  1%] Built target mlpack_arma_config
  5. -- Found Git: /usr/bin/git (found version "2.7.4")
  6. -- gitversion.hpp is already up to date.
  7. [  1%] Built target mlpack_gitversion
  8. Moving header files to include/mlpack/
  9. [  1%] Built target mlpack_headers
  10. [  1%] Generating mlpack.pc (pkg-config) file.
  11. [  1%] Built target pkgconfig
  12. [ 10%] Built target mlpack
  13. [ 10%] Built target mlpack_adaboost
  14. [ 10%] Built target mlpack_cf
  15. [ 11%] Built target mlpack_approx_kfn
  16. [ 11%] Built target mlpack_decision_stump
  17. [ 12%] Built target mlpack_dbscan
  18. [ 12%] Built target mlpack_decision_tree
  19. [ 13%] Built target mlpack_det
  20. [ 13%] Built target mlpack_emst
  21. [ 13%] Built target python_copy
  22. [ 13%] Built target mlpack_gmm_generate
  23. [ 13%] Built target mlpack_fastmks
  24. [ 14%] Built target mlpack_gmm_train
  25. [ 14%] Built target mlpack_gmm_probability
  26. [ 14%] Built target mlpack_hmm_loglik
  27. [ 15%] Built target mlpack_hmm_train
  28. [ 15%] Built target mlpack_hmm_viterbi
  29. [ 15%] Built target mlpack_hmm_generate
  30. [ 15%] Built target mlpack_hoeffding_tree
  31. [ 16%] Built target mlpack_kde
  32. [ 16%] Built target mlpack_kernel_pca
  33. [ 16%] Built target mlpack_kmeans
  34. [ 16%] Built target mlpack_lars
  35. [ 16%] Built target mlpack_linear_regression
  36. [ 17%] Built target mlpack_linear_svm
  37. [ 17%] Built target mlpack_lmnn
  38. [ 17%] Built target mlpack_local_coordinate_coding
  39. [ 18%] Built target mlpack_logistic_regression
  40. [ 18%] Built target mlpack_nca
  41. [ 18%] Built target mlpack_lsh
  42. [ 18%] Built target mlpack_nbc
  43. [ 19%] Built target mlpack_mean_shift
  44. [ 20%] Built target mlpack_kfn
  45. [ 21%] Built target mlpack_nmf
  46. [ 21%] Built target mlpack_pca
  47. [ 21%] Built target mlpack_knn
  48. [ 21%] Built target mlpack_perceptron
  49. [ 21%] Built target mlpack_preprocess_scale
  50. [ 22%] Built target mlpack_preprocess_describe
  51. [ 23%] Built target mlpack_preprocess_split
  52. [ 23%] Built target mlpack_preprocess_binarize
  53. [ 23%] Built target mlpack_preprocess_imputer
  54. [ 23%] Built target mlpack_radical
  55. [ 23%] Built target mlpack_random_forest
  56. [ 24%] Built target mlpack_krann
  57. [ 25%] Built target mlpack_range_search
  58. [ 26%] Configuring setup.py...
  59. Scanning dependencies of target mlpack_softmax_regression
  60. [ 27%] Built target mlpack_sparse_coding
  61. -- Run with /usr/lib/x86_64-linux-gnu/libboost_serialization.so.
  62. [ 27%] Built target python_configure
  63. [ 27%] Building CXX object src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o
  64. Scanning dependencies of target mlpack_test
  65. [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o
  66. [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o
  67. In file included from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/mlpack_main.hpp:89:0,
  68.                  from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:13:
  69. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1182:40: error: template argument 1 is invalid
  70.        static mlpack::util::Option<TYPE*> \
  71.                                         ^
  72. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  73.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  74.      ^
  75. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  76.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  77.  ^
  78. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: expression list treated as compound expression in initializer [-fpermissive]
  79.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  80.                                                                  ^
  81. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  82.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  83.      ^
  84. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  85.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  86.  ^
  87. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: left operand of comma operator has no effect [-Wunused-value]
  88.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  89.                                                                  ^
  90. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  91.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  92.      ^
  93. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  94.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  95.  ^
  96. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  97.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  98.                                                                  ^
  99. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  100.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  101.      ^
  102. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  103.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  104.  ^
  105. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  106.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  107.                                                                  ^
  108. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  109.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  110.      ^
  111. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  112.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  113.  ^
  114. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  115.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  116.                                                                  ^
  117. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  118.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  119.      ^
  120. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  121.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  122.  ^
  123. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  124.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  125.                                                                  ^
  126. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  127.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  128.      ^
  129. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  130.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  131.  ^
  132. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  133.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  134.                                                                  ^
  135. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  136.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  137.      ^
  138. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  139.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  140.  ^
  141. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  142.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  143.                                                                  ^
  144. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  145.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  146.      ^
  147. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  148.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  149.  ^
  150. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  151.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  152.                                                                  ^
  153. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  154.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  155.      ^
  156. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  157.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  158.  ^
  159. /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
  160.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  161.                                                                  ^
  162. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  163.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  164.      ^
  165. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  166.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  167.  ^
  168. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1182:40: error: template argument 1 is invalid
  169.        static mlpack::util::Option<TYPE*> \
  170.                                         ^
  171. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  172.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  173.      ^
  174. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  175.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  176.  ^
  177. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: expression list treated as compound expression in initializer [-fpermissive]
  178.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  179.                                                                  ^
  180. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  181.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  182.      ^
  183. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  184.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  185.  ^
  186. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: left operand of comma operator has no effect [-Wunused-value]
  187.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  188.                                                                  ^
  189. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  190.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  191.      ^
  192. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  193.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  194.  ^
  195. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  196.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  197.                                                                  ^
  198. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  199.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  200.      ^
  201. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  202.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  203.  ^
  204. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  205.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  206.                                                                  ^
  207. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  208.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  209.      ^
  210. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  211.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  212.  ^
  213. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  214.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  215.                                                                  ^
  216. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  217.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  218.      ^
  219. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  220.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  221.  ^
  222. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  223.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  224.                                                                  ^
  225. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  226.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  227.      ^
  228. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  229.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  230.  ^
  231. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  232.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  233.                                                                  ^
  234. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  235.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  236.      ^
  237. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  238.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  239.  ^
  240. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  241.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  242.                                                                  ^
  243. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  244.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  245.      ^
  246. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  247.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  248.  ^
  249. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
  250.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  251.                                                                  ^
  252. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  253.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  254.      ^
  255. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  256.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  257.  ^
  258. /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
  259.        (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
  260.                                                                  ^
  261. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  262.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  263.      ^
  264. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  265.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  266.  ^
  267. /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
  268.   warnings.warn(msg)
  269. /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
  270.   warnings.warn(msg)
  271. running build
  272. running build_py
  273. copying ./mlpack/matrix_utils.py -> build/lib.linux-x86_64-2.7/mlpack
  274. [ 27%] Built target python_configured
  275. [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/rbm_network_test.cpp.o
  276. /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]
  277.        JOIN(cli_option_dummy_model_, __COUNTER__) \
  278.             ^
  279. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1112:26: note: in definition of macro ‘JOIN_AGAIN’
  280.  #define JOIN_AGAIN(x, y) x ## y
  281.                           ^
  282. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:7: note: in expansion of macro ‘JOIN’
  283.        JOIN(cli_option_dummy_model_, __COUNTER__) \
  284.        ^
  285. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
  286.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
  287.      ^
  288. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
  289.  PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
  290.  ^
  291. /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]
  292.        JOIN(cli_option_dummy_model_, __COUNTER__) \
  293.             ^
  294. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1112:26: note: in definition of macro ‘JOIN_AGAIN’
  295.  #define JOIN_AGAIN(x, y) x ## y
  296.                           ^
  297. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:7: note: in expansion of macro ‘JOIN’
  298.        JOIN(cli_option_dummy_model_, __COUNTER__) \
  299.        ^
  300. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
  301.      PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
  302.      ^
  303. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
  304.  PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
  305.  ^
  306. 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
  307. make[2]: *** [src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o] Error 1
  308. CMakeFiles/Makefile2:7473: recipe for target 'src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/all' failed
  309. make[1]: *** [src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/all] Error 2
  310. make[1]: *** Waiting for unfinished jobs....
  311. [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/serialization_test.cpp.o
  312. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp: In member function ‘void RBMNetworkTest::BinaryRBMClassificationTest::test_method()’:
  313. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:107:21: error: missing template arguments before ‘regressor’
  314.    SoftmaxRegression regressor(trainData, trainLabels,
  315.                      ^
  316. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:110:35: error: ‘regressor’ was not declared in this scope
  317.    double classificationAccuracy = regressor.ComputeAccuracy(testData,
  318.                                    ^
  319. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:114:21: error: missing template arguments before ‘rbmRegressor’
  320.    SoftmaxRegression rbmRegressor(XRbm, trainLabels, numClasses,
  321.                      ^
  322. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:116:38: error: ‘rbmRegressor’ was not declared in this scope
  323.    double rbmClassificationAccuracy = rbmRegressor.ComputeAccuracy(YRbm,
  324.                                       ^
  325. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:101:16: warning: unused variable ‘numClasses’ [-Wunused-variable]
  326.    const size_t numClasses = 10; // Number of classes.
  327.                 ^
  328. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp: In member function ‘void RBMNetworkTest::ssRBMClassificationTest::test_method()’:
  329. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:208:21: error: missing template arguments before ‘ssRbmRegressor’
  330.    SoftmaxRegression ssRbmRegressor(XRbm, trainLabels, numClasses,
  331.                      ^
  332. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:210:40: error: ‘ssRbmRegressor’ was not declared in this scope
  333.    double ssRbmClassificationAccuracy = ssRbmRegressor.ComputeAccuracy(
  334.                                         ^
  335. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:203:16: warning: unused variable ‘numClasses’ [-Wunused-variable]
  336.    const size_t numClasses = 10; // Number of classes.
  337.                 ^
  338. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::PredictionsTypeTest::test_method()’:
  339. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:216:62: error: no matching function for call to ‘CheckPredictionsType()
  340.    CheckPredictionsType<SoftmaxRegression, arma::Row<size_t>>();
  341.                                                               ^
  342. /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()
  343.  void CheckPredictionsType()
  344.       ^
  345. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:198:6: note:   template argument deduction/substitution failed:
  346. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp: In member function ‘void SerializationTest::SoftmaxRegressionTest::test_method()’:
  347. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:670:21: error: missing template arguments before ‘sr’
  348.    SoftmaxRegression sr(dataset, labels, 2);
  349.                      ^
  350. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:672:21: error: missing template arguments before ‘srXml’
  351.    SoftmaxRegression srXml(dataset.n_rows, 2);
  352.                      ^
  353. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:673:21: error: missing template arguments before ‘srText’
  354.    SoftmaxRegression srText(dataset.n_rows, 2);
  355.                      ^
  356. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:674:21: error: missing template arguments before ‘srBinary’
  357.    SoftmaxRegression srBinary(dataset.n_rows, 2);
  358.                      ^
  359. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:22: error: ‘sr’ was not declared in this scope
  360.    SerializeObjectAll(sr, srXml, srText, srBinary);
  361.                       ^
  362. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:26: error: ‘srXml’ was not declared in this scope
  363.    SerializeObjectAll(sr, srXml, srText, srBinary);
  364.                           ^
  365. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:33: error: ‘srText’ was not declared in this scope
  366.    SerializeObjectAll(sr, srXml, srText, srBinary);
  367.                                  ^
  368. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:41: error: ‘srBinary’ was not declared in this scope
  369.    SerializeObjectAll(sr, srXml, srText, srBinary);
  370.                                          ^
  371. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::TakesDatasetInfoTest::test_method()’:
  372. /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’
  373.    static_assert(!MetaInfoExtractor<SoftmaxRegression>::TakesDatasetInfo,
  374.                                                      ^
  375. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:279:53: note:   expected a type, got ‘SoftmaxRegression’
  376. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::TakesNumClassesTest::test_method()’:
  377. /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’
  378.    static_assert(MetaInfoExtractor<SoftmaxRegression>::TakesNumClasses,
  379.                                                     ^
  380. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:291:52: note:   expected a type, got ‘SoftmaxRegression’
  381. In file included from /usr/include/ensmallen_bits/sgd/sgd.hpp:252:0,
  382.                  from /usr/include/ensmallen_bits/ada_delta/ada_delta.hpp:19,
  383.                  from /usr/include/ensmallen.hpp:75,
  384.                  from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:11:
  385. /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]’:
  386. /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]
  387. /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]
  388. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:206:27:   required from here
  389. /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’
  390.    const size_t numFunctions = f.NumFunctions();
  391.                                               ^
  392. /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]’:
  393. /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]
  394. /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]
  395. /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]
  396. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:203:80:   required from here
  397. /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’
  398. In file included from /usr/include/ensmallen_bits/function.hpp:24:0,
  399.                  from /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:20,
  400.                  from /usr/include/ensmallen_bits/sgd/sgd.hpp:252,
  401.                  from /usr/include/ensmallen_bits/ada_delta/ada_delta.hpp:19,
  402.                  from /usr/include/ensmallen.hpp:75,
  403.                  from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:11:
  404. /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>]’:
  405. /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]
  406. /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]
  407. /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]
  408. /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:206:27:   required from here
  409. /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.
  410.    static_assert(CheckNumFunctions<FunctionType, MatType, GradType>::value,
  411.    ^
  412. src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:2227: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/rbm_network_test.cpp.o' failed
  413. make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/rbm_network_test.cpp.o] Error 1
  414. make[2]: *** Waiting for unfinished jobs....
  415. 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
  416. make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o] Error 1
  417. 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
  418. make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o] Error 1
  419. src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:2402: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/serialization_test.cpp.o' failed
  420. make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/serialization_test.cpp.o] Error 1
  421. CMakeFiles/Makefile2:7764: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/all' failed
  422. make[1]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/all] Error 2
  423. Makefile:138: recipe for target 'all' failed
  424. make: *** [all] Error 2
  425. knakul853@knakul853-HP-Laptop-15-bs1xx:~/Desktop/mlpack/mlpack/build$
Add Comment
Please, Sign In to add comment