Skip to content

Instantly share code, notes, and snippets.

@5idaidai
Last active August 29, 2015 14:27
Show Gist options
  • Save 5idaidai/0c65961ba73489504ab1 to your computer and use it in GitHub Desktop.
Save 5idaidai/0c65961ba73489504ab1 to your computer and use it in GitHub Desktop.
error with compile ann module in mlpack
Moving header files to include/mlpack/
[ 0%] Built target mlpack_headers
[ 1%] Updating arma_config.hpp (if necessary)
[ 1%] Built target mlpack_arma_config
[ 22%] Built target mlpack
[ 23%] Built target sparse_coding
[ 24%] Built target cf
[ 26%] Built target decision_stump
[ 27%] Built target det
[ 28%] Built target emst
[ 29%] Built target fastmks
[ 30%] Built target gmm
[ 31%] Built target hmm_train
[ 32%] Built target hmm_loglik
[ 33%] Built target hmm_viterbi
[ 35%] Built target hmm_generate
[ 36%] Built target kernel_pca
[ 37%] Built target kmeans
[ 39%] Built target lars
[ 40%] Built target linear_regression
[ 41%] Built target local_coordinate_coding
[ 42%] Built target logistic_regression
[ 43%] Built target lsh
[ 44%] Built target nbc
[ 45%] Built target nca
[ 46%] Built target allknn
[ 47%] Built target allkfn
[ 48%] Built target nmf
[ 50%] Built target pca
[ 51%] Built target perceptron
[ 53%] Built target radical
[ 54%] Built target range_search
[ 55%] Built target allkrann
[ 56%] Generating man pages from built executables.
Generating man page for nbc...
Generating man page for sparse_coding...
Generating man page for gmm...
Generating man page for emst...
Generating man page for kmeans...
Generating man page for hmm_generate...
Generating man page for kernel_pca...
Generating man page for allkfn...
Generating man page for allkrann...
Generating man page for decision_stump...
Generating man page for nca...
Generating man page for nmf...
Generating man page for hmm_train...
Generating man page for hmm_loglik...
Generating man page for perceptron...
Generating man page for det...
Generating man page for range_search...
Generating man page for radical...
Generating man page for fastmks...
Generating man page for local_coordinate_coding...
Generating man page for cf...
Generating man page for lsh...
Generating man page for adaboost...
Generating man page for pca...
Generating man page for allknn...
Generating man page for linear_regression...
Generating man page for logistic_regression...
Generating man page for hmm_viterbi...
Generating man page for lars...
Generating man page for mean_shift...
[ 56%] Built target man
[ 57%] Built target adaboost
[ 58%] Built target mean_shift
[ 59%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/convolutional_network_test.cpp.o
In file included from /home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:23:0:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:357:31: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:404:27: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:357:31: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:404:27: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:357:31: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> > >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:404:27: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> > >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> > >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:357:31: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:404:27: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> > >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> > >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> > >’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:156:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Gradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:358:22: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::UpdateGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:88:30: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::FeedBackward(const ErrorType&) [with ErrorType = arma::Mat<double>; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:150:9: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:381:9: error: ‘class mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Update();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp: In instantiation of ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::Apply(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’:
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: recursively required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 1ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:405:21: required from ‘typename std::enable_if<(I < sizeof (Tp ...)), void>::type mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients(std::tuple<_Args2 ...>&) [with long unsigned int I = 0ul; Tp = {std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&}; ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>; typename std::enable_if<(I < sizeof (Tp ...)), void>::type = void]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:97:29: required from ‘void mlpack::ann::CNN<ConnectionTypes, OutputLayerType, PerformanceFunction, DataType>::ApplyGradients() [with ConnectionTypes = std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>; OutputLayerType = mlpack::ann::OneHotLayer; PerformanceFunction = mlpack::ann::CrossEntropyErrorFunction<>; DataType = arma::Cube<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:153:11: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/trainer/trainer.hpp:94:43: required from ‘void mlpack::ann::Trainer<NetworkType, MatType, VecType>::Train(InputType&, OutputType&, InputType&, OutputType&) [with InputType = arma::Cube<double>; OutputType = arma::Mat<double>; NetworkType = mlpack::ann::CNN<std::tuple<std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::ConvConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::FullConvolution>, mlpack::ann::NaiveConvolution<mlpack::ann::ValidConvolution>, arma::Cube<double> >&, mlpack::ann::BiasConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&, std::tuple<mlpack::ann::IdentityConnection<mlpack::ann::NeuronLayer<mlpack::ann::RectifierFunction, arma::Cube<double> >, mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::AdaDelta, arma::Cube<double> >&>&, std::tuple<mlpack::ann::PoolingConnection<mlpack::ann::DropoutLayer<arma::Cube<double> >, mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::MaxPooling, mlpack::ann::RMSPROP, arma::Cube<double> >&>&, std::tuple<mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::NguyenWidrowInitialization, arma::Mat<double> >&, mlpack::ann::FullConnection<mlpack::ann::BiasLayer<mlpack::ann::IdentityFunction, arma::Col<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta, mlpack::ann::ZeroInitialization, arma::Mat<double> >&>&>, mlpack::ann::OneHotLayer>; MatType = arma::Mat<double>; VecType = arma::Col<double>]’
/home/liangjun/gitcode/mlpack-master/src/mlpack/tests/convolutional_network_test.cpp:296:35: required from here
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:428:9: error: ‘class mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Optimize();
^
/home/liangjun/gitcode/mlpack-master/src/mlpack/../mlpack/methods/ann/cnn.hpp:429:9: error: ‘class mlpack::ann::FullConnection<mlpack::ann::NeuronLayer<mlpack::ann::IdentityFunction, arma::Cube<double> >, mlpack::ann::SoftmaxLayer<arma::Mat<double> >, mlpack::ann::AdaDelta>’ has no member named ‘Optimzer’
std::get<I>(t).Optimzer().Reset();
^
make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/convolutional_network_test.cpp.o] Error 1
make[1]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment