CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

model editing error in sequence training

Open mhng1580 opened this issue 10 years ago • 1 comments

I tried to run sequence training after cross-entropy training, and it threw the following exception during editing model

Post-processing network complete.

EXCEPTION occurred: reducPoolW LearnableParameter operation: Sample [256 x 256 x 1 x 28] is not a column vector or matrix (1D or 2D tensor).

[CALL STACK]
[0x69d7a6]          Microsoft::MSR::CNTK::LearnableParameter<float>::  DumpNodeInfo  (bool,  bool,  Microsoft::MSR::CNTK::File&) const + 0x1d6
[0x54b184]          Microsoft::MSR::CNTK::ComputationNetwork::  DumpAllNodesToFile  (bool,  bool,  std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>) + 0x74
[0x5c814c]          Microsoft::MSR::CNTK::MELScript<float>::  CallFunction  (std::string const&,  Microsoft::MSR::CNTK::ConfigParamList const&) + 0x115c
[0x5ca71a]          Microsoft::MSR::CNTK::MELScript<float>::  ParseValue  (std::string const&,  unsigned long,  unsigned long) + 0x4fa
[0x552a84]          Microsoft::MSR::CNTK::ConfigParser::  Parse  (std::string const&,  unsigned long) + 0x264
[0x5b9a62]          Microsoft::MSR::CNTK::MELScript<float>::  FileParse  (std::string const&) + 0x352
[0x7f0863044904]    Microsoft::MSR::CNTK::ConfigParser::  LoadConfigFileAndResolveVariables  (std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>> const&,  Microsoft::MSR::CNTK::ConfigParameters const&) + 0x64
[0x759495]          void  DoEdit  <float>(Microsoft::MSR::CNTK::ConfigParameters const&) + 0x3a5
[0x5a0d0b]          void  DoCommands  <float>(Microsoft::MSR::CNTK::ConfigParameters const&) + 0xc7b
[0x542c9b]          wmainOldCNTKConfig  (int,  wchar_t**)              + 0x89b
[0x5432b8]          wmain1  (int,  wchar_t**)                          + 0x68
[0x5375d8]          main                                               + 0xd8
[0x7f0861cb5ec5]    __libc_start_main                                  + 0xf5
[0x53b354]

What does this exception mean exactly? After I commented out the exception in code I'm able to edit the model and do sequence training now.

mhng1580 avatar Apr 15 '16 19:04 mhng1580

The issue has been dormant for a long while. Please open a new issue if you still experience problems in the latest release.

wolfma61 avatar Jun 29 '17 12:06 wolfma61