• Alex

    With this method, the input images were changed to gray before training the net. So there must be some information lost.

    • Eric

      Yes exactly.

  • mike

    Hi! during compilation, I get the following errors

    /usr/include/c++/4.9.2/fstream:470:7: note: std::basic_ifstream::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
    basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
    /usr/include/c++/4.9.2/fstream:470:7: note: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
    /usr/include/c++/4.9.2/fstream:456:7: note: std::basic_ifstream::basic_ifstream() [with _CharT = char; _Traits = std::char_traits]
    basic_ifstream() : __istream_type(), _M_filebuf()
    /usr/include/c++/4.9.2/fstream:456:7: note: candidate expects 0 arguments, 2 provided
    /usr/include/c++/4.9.2/fstream:430:11: note: std::basic_ifstream::basic_ifstream(const std::basic_ifstream&)
    class basic_ifstream : public basic_istream
    /usr/include/c++/4.9.2/fstream:430:11: note: candidate expects 1 argument, 2 provided

    whenever I try to specify -std=c++11 in the compilation, I generate way more errors instead

  • hidayatullah chowdary

    Do you have training example for the same in C++?

    • I have the same question.