dmlc / cxxnet

move forward to https://github.com/dmlc/mxnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compiling errors with imgrec iterator on red hat

liubodream opened this issue · comments

src/io/data.cpp: In function 'cxxnet::IIteratorcxxnet::DataBatch* cxxnet::CreateIterator(const std::vector<std::pair<std::basic_string<char, std::char_traits, std::allocator >, std::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::basic_string<char, std::char_traits, std::allocator >, std::basic_string<char, std::char_traits, std::allocator > > > >&)':
src/io/data.cpp:47: error: expected type-specifier before 'ImageRecordIOIterator'
src/io/data.cpp:47: error: expected ')' before 'ImageRecordIOIterator'
src/io/data.cpp:47: error: no matching function for call to 'cxxnet::AugmentIterator::AugmentIterator(int_, int)'
src/io/iter_augment_proc-inl.hpp:24: note: candidates are: cxxnet::AugmentIterator::AugmentIterator(cxxnet::IIteratorcxxnet::DataInst_, int)
src/io/iter_augment_proc-inl.hpp:22: note: cxxnet::AugmentIterator::AugmentIterator(const cxxnet::AugmentIterator&)
make: *** [data.o] Error 1
make: *** Waiting for unfinished jobs....

can anyone give me some help, I will thanks a lot!!!

commented

I have the same problem. Have you solved this problem? Thank a lot.