Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build -t mxnet-rcnn mxnet-rcnn fails #3

Open
cssasha opened this issue Oct 24, 2017 · 2 comments
Open

docker build -t mxnet-rcnn mxnet-rcnn fails #3

cssasha opened this issue Oct 24, 2017 · 2 comments

Comments

@cssasha
Copy link

cssasha commented Oct 24, 2017

Hello,

i am trying to follow the build/train/evaluate instructions but get stuck at the building docker image stage:
...
++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I/root/mxnet/mshadow/ -I/root/mxnet/dmlc-core/include -fPIC -I/root/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/l
ocal/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1 -I/root/mxnet/cub -DMXNET_USE_NVRTC=0 -MMD -c src/io/io.cc -o build/src
/io/io.o
In file included from src/io/./iter_batchloader.h:16:0,
from src/io/io.cc:7:
src/io/././inst_vector.h:157:46: error: expected class-name before '{' token
class TBlobContainer : public mshadow::TBlob {
^
src/io/././inst_vector.h:166:30: error: 'TShape' in namespace 'mshadow' does not name a type
void resize(const mshadow::TShape &shape, int type_flag) {
^
src/io/././inst_vector.h: In constructor 'mxnet::io::TBlobContainer::TBlobContainer()':
src/io/././inst_vector.h:160:21: error: expected class-name before '(' token
: mshadow::TBlob(), tensor_container_(nullptr) {}

Please help.

Thank you in advance!

@krosaen
Copy link
Contributor

krosaen commented Nov 10, 2017

I can confirm the error, thanks for reporting. I can't immediately see what has changed, and we target a specific of mxnet... I might not have time to dig into this for a while, but at least wanted to confirm the issue here.

In file included from src/io/./iter_batchloader.h:16:0,
                 from src/io/io.cc:7:
src/io/././inst_vector.h:157:46: error: expected class-name before '{' token
 class TBlobContainer : public mshadow::TBlob {
                                              ^
src/io/././inst_vector.h:166:30: error: 'TShape' in namespace 'mshadow' does not name a type
   void resize(const mshadow::TShape &shape, int type_flag) {
                              ^
src/io/././inst_vector.h: In constructor 'mxnet::io::TBlobContainer::TBlobContainer()':
src/io/././inst_vector.h:160:21: error: expected class-name before '(' token
     : mshadow::TBlob(), tensor_container_(nullptr) {}
                     ^
src/io/././inst_vector.h:160:21: error: expected '{' before '(' token
In file included from /root/mxnet/dmlc-core/include/dmlc/./io.h:14:0,
                 from /root/mxnet/dmlc-core/include/dmlc/data.h:14,
                 from include/mxnet/io.h:9,
                 from src/io/io.cc:3:
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::resize(const int&, int)':
src/io/././inst_vector.h:168:22: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
       CHECK_EQ(this->type_flag_, type_flag);
                      ^
/root/mxnet/dmlc-core/include/dmlc/././logging.h:89:61: note: in definition of macro 'CHECK_BINARY_OP'
   if (dmlc::LogCheckError _check_err = dmlc::LogCheck##name(x, y))    \
                                                             ^
src/io/././inst_vector.h:168:7: note: in expansion of macro 'CHECK_EQ'
       CHECK_EQ(this->type_flag_, type_flag);
       ^
In file included from src/io/./iter_batchloader.h:16:0,
                 from src/io/io.cc:7:
src/io/././inst_vector.h:169:13: error: 'class mxnet::io::TBlobContainer' has no member named 'shape_'
       this->shape_ = shape;
             ^
src/io/././inst_vector.h:172:13: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
       this->type_flag_ = type_flag;
             ^
src/io/././inst_vector.h:173:13: error: 'class mxnet::io::TBlobContainer' has no member named 'shape_'
       this->shape_ = shape;
             ^
src/io/././inst_vector.h:176:11: error: 'class mxnet::io::TBlobContainer' has no member named 'stride_'
     this->stride_ = shape_[shape_.ndim() - 1];
           ^
src/io/././inst_vector.h:176:21: error: 'shape_' was not declared in this scope
     this->stride_ = shape_[shape_.ndim() - 1];
                     ^
In file included from /root/mxnet/dmlc-core/include/dmlc/./io.h:14:0,
                 from /root/mxnet/dmlc-core/include/dmlc/data.h:14,
                 from include/mxnet/io.h:9,
                 from src/io/io.cc:3:
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::create()':
src/io/././inst_vector.h:182:20: error: 'class mxnet::io::TBlobContainer' has no member named 'dev_mask_'
     CHECK_EQ(this->dev_mask_, mshadow::cpu::kDevMask);
                    ^
/root/mxnet/dmlc-core/include/dmlc/././logging.h:89:61: note: in definition of macro 'CHECK_BINARY_OP'
   if (dmlc::LogCheckError _check_err = dmlc::LogCheck##name(x, y))    \
                                                             ^
src/io/././inst_vector.h:182:5: note: in expansion of macro 'CHECK_EQ'
     CHECK_EQ(this->dev_mask_, mshadow::cpu::kDevMask);
     ^
In file included from /root/mxnet/mshadow/mshadow/tensor.h:16:0,
                 from include/mxnet/./base.h:13,
                 from include/mxnet/io.h:15,
                 from src/io/io.cc:3:
src/io/././inst_vector.h:183:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:183:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::resize()':
src/io/././inst_vector.h:191:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:191:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::release()':
src/io/././inst_vector.h:198:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/././inst_vector.h:198:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/./iter_batchloader.h: In member function 'virtual bool mxnet::io::BatchLoader::Next()':
src/io/./iter_batchloader.h:84:38: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
         MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                      ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:84:38: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
         MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                      ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/./iter_batchloader.h:106:42: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
             MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                          ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:106:42: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
             MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                          ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
In file included from src/io/io.cc:7:0:
src/io/./iter_batchloader.h: In member function 'void mxnet::io::BatchLoader::InitData(const mxnet::DataInst&)':
src/io/./iter_batchloader.h:159:71: error: no matching function for call to 'mxnet::io::TBlobContainer::resize(mshadow::Shape<1>, int&)'
       data_[i].resize(mshadow::Shape1(dst_shape.Size()), src_type_flag);
                                                                       ^
In file included from src/io/./iter_batchloader.h:16:0,
                 from src/io/io.cc:7:
src/io/././inst_vector.h:166:8: note: candidate: void mxnet::io::TBlobContainer::resize(const int&, int)
   void resize(const mshadow::TShape &shape, int type_flag) {
        ^
src/io/././inst_vector.h:166:8: note:   no known conversion for argument 1 from 'mshadow::Shape<1>' to 'const int&'
src/io/././inst_vector.h:190:8: note: candidate: void mxnet::io::TBlobContainer::resize()
   void resize() {
        ^
src/io/././inst_vector.h:190:8: note:   candidate expects 0 arguments, 2 provided
In file included from src/io/io.cc:7:0:
src/io/./iter_batchloader.h:161:42: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'dptr_'
       out_.data.push_back(TBlob(data_[i].dptr_, dst_shape, cpu::kDevMask, src_type_flag));
                                          ^
g++ -std=c++11 -c -DMSHADOW_FORCE_STREAM -Wall -O3 -I/root/mxnet/mshadow/ -I/root/mxnet/dmlc-core/include -fPIC -I/root/mxnet/nnvm/include -Iinclude -funroll-loops -Wno-unused-variable -Wno-unused-parameter -Wno-unknown-pragmas -Wno-unused-local-typedefs -msse3 -I/usr/local/cuda/include -DMSHADOW_USE_CBLAS=1 -DMSHADOW_USE_MKL=0 -DMSHADOW_RABIT_PS=0 -DMSHADOW_DIST_PS=0 -DMSHADOW_USE_PASCAL=0 -DMXNET_USE_OPENCV=1 -I/usr/include/opencv -fopenmp -DMSHADOW_USE_CUDNN=1  -I/root/mxnet/cub -DMXNET_USE_NVRTC=0 -MMD -c src/io/iter_csv.cc -o build/src/io/iter_csv.o
Makefile:202: recipe for target 'build/src/io/io.o' failed
make: *** [build/src/io/io.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/io/./iter_prefetcher.h:22:0,
                 from src/io/iter_csv.cc:11:
src/io/././inst_vector.h:157:46: error: expected class-name before '{' token
 class TBlobContainer : public mshadow::TBlob {
                                              ^
src/io/././inst_vector.h:166:30: error: 'TShape' in namespace 'mshadow' does not name a type
   void resize(const mshadow::TShape &shape, int type_flag) {
                              ^
src/io/././inst_vector.h: In constructor 'mxnet::io::TBlobContainer::TBlobContainer()':
src/io/././inst_vector.h:160:21: error: expected class-name before '(' token
     : mshadow::TBlob(), tensor_container_(nullptr) {}
                     ^
src/io/././inst_vector.h:160:21: error: expected '{' before '(' token
In file included from /root/mxnet/dmlc-core/include/dmlc/./io.h:14:0,
                 from /root/mxnet/dmlc-core/include/dmlc/data.h:14,
                 from include/mxnet/io.h:9,
                 from src/io/iter_csv.cc:6:
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::resize(const int&, int)':
src/io/././inst_vector.h:168:22: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
       CHECK_EQ(this->type_flag_, type_flag);
                      ^
/root/mxnet/dmlc-core/include/dmlc/././logging.h:89:61: note: in definition of macro 'CHECK_BINARY_OP'
   if (dmlc::LogCheckError _check_err = dmlc::LogCheck##name(x, y))    \
                                                             ^
src/io/././inst_vector.h:168:7: note: in expansion of macro 'CHECK_EQ'
       CHECK_EQ(this->type_flag_, type_flag);
       ^
In file included from src/io/./iter_prefetcher.h:22:0,
                 from src/io/iter_csv.cc:11:
src/io/././inst_vector.h:169:13: error: 'class mxnet::io::TBlobContainer' has no member named 'shape_'
       this->shape_ = shape;
             ^
src/io/././inst_vector.h:172:13: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
       this->type_flag_ = type_flag;
             ^
src/io/././inst_vector.h:173:13: error: 'class mxnet::io::TBlobContainer' has no member named 'shape_'
       this->shape_ = shape;
             ^
src/io/././inst_vector.h:176:11: error: 'class mxnet::io::TBlobContainer' has no member named 'stride_'
     this->stride_ = shape_[shape_.ndim() - 1];
           ^
src/io/././inst_vector.h:176:21: error: 'shape_' was not declared in this scope
     this->stride_ = shape_[shape_.ndim() - 1];
                     ^
In file included from /root/mxnet/dmlc-core/include/dmlc/./io.h:14:0,
                 from /root/mxnet/dmlc-core/include/dmlc/data.h:14,
                 from include/mxnet/io.h:9,
                 from src/io/iter_csv.cc:6:
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::create()':
src/io/././inst_vector.h:182:20: error: 'class mxnet::io::TBlobContainer' has no member named 'dev_mask_'
     CHECK_EQ(this->dev_mask_, mshadow::cpu::kDevMask);
                    ^
/root/mxnet/dmlc-core/include/dmlc/././logging.h:89:61: note: in definition of macro 'CHECK_BINARY_OP'
   if (dmlc::LogCheckError _check_err = dmlc::LogCheck##name(x, y))    \
                                                             ^
src/io/././inst_vector.h:182:5: note: in expansion of macro 'CHECK_EQ'
     CHECK_EQ(this->dev_mask_, mshadow::cpu::kDevMask);
     ^
In file included from /root/mxnet/mshadow/mshadow/tensor.h:16:0,
                 from include/mxnet/./base.h:13,
                 from include/mxnet/io.h:15,
                 from src/io/iter_csv.cc:6:
src/io/././inst_vector.h:183:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:185:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:186:9: error: 'dptr_' was not declared in this scope
         dptr_ = tensor_container->dptr_;
         ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:183:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::resize()':
src/io/././inst_vector.h:191:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:194:50: error: 'shape_' was not declared in this scope
         tensor_container->Resize(mshadow::Shape1(shape_.Size()));
                                                  ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/././inst_vector.h:191:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/././inst_vector.h: In member function 'void mxnet::io::TBlobContainer::release()':
src/io/././inst_vector.h:198:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/././inst_vector.h:198:31: error: 'class mxnet::io::TBlobContainer' has no member named 'type_flag_'
     MSHADOW_TYPE_SWITCH(this->type_flag_, DType, {
                               ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/./iter_batchloader.h: In member function 'virtual bool mxnet::io::BatchLoader::Next()':
src/io/./iter_batchloader.h:84:38: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
         MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                      ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:24: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                        ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:31: error: expected primary-expression before ',' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                               ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:41: error: expected primary-expression before '>' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                         ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:86:43: error: expected primary-expression before ')' token
               data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                           ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:84:38: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
         MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                      ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
src/io/./iter_batchloader.h:106:42: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
             MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                          ^
/root/mxnet/mshadow/mshadow/./base.h:794:11: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
   switch (type) {                                   \
           ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:798:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:804:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:810:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:816:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:822:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:828:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:28: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'get'
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                            ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:35: error: expected primary-expression before ',' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                   ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:45: error: expected primary-expression before '>' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                             ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:108:47: error: expected primary-expression before ')' token
                   data_[i].get<cpu, 1, DType>().Slice(top * unit_size_[i],
                                               ^
/root/mxnet/mshadow/mshadow/./base.h:834:8: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
       {__VA_ARGS__}                                 \
        ^
src/io/./iter_batchloader.h:106:42: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'type_flag_'
             MSHADOW_TYPE_SWITCH(data_[i].type_flag_, DType, {
                                          ^
/root/mxnet/mshadow/mshadow/./base.h:838:43: note: in definition of macro 'MSHADOW_TYPE_SWITCH'
     LOG(FATAL) << "Unknown type enum " << type;     \
                                           ^
In file included from src/io/iter_csv.cc:12:0:
src/io/./iter_batchloader.h: In member function 'void mxnet::io::BatchLoader::InitData(const mxnet::DataInst&)':
src/io/./iter_batchloader.h:159:71: error: no matching function for call to 'mxnet::io::TBlobContainer::resize(mshadow::Shape<1>, int&)'
       data_[i].resize(mshadow::Shape1(dst_shape.Size()), src_type_flag);
                                                                       ^
In file included from src/io/./iter_prefetcher.h:22:0,
                 from src/io/iter_csv.cc:11:
src/io/././inst_vector.h:166:8: note: candidate: void mxnet::io::TBlobContainer::resize(const int&, int)
   void resize(const mshadow::TShape &shape, int type_flag) {
        ^
src/io/././inst_vector.h:166:8: note:   no known conversion for argument 1 from 'mshadow::Shape<1>' to 'const int&'
src/io/././inst_vector.h:190:8: note: candidate: void mxnet::io::TBlobContainer::resize()
   void resize() {
        ^
src/io/././inst_vector.h:190:8: note:   candidate expects 0 arguments, 2 provided
In file included from src/io/iter_csv.cc:12:0:
src/io/./iter_batchloader.h:161:42: error: '__gnu_cxx::__alloc_traits<std::allocator<mxnet::io::TBlobContainer> >::value_type {aka class mxnet::io::TBlobContainer}' has no member named 'dptr_'
       out_.data.push_back(TBlob(data_[i].dptr_, dst_shape, cpu::kDevMask, src_type_flag));
                                          ^
make: *** [build/src/io/iter_csv.o] Error 1

@cssasha
Copy link
Author

cssasha commented Nov 13, 2017

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants