Guest User

Untitled

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