SLU Example Failed
I built the latest CNTK in "Debug_CpuOnly" and "X64". Then I ran the SLU example in the folder "\Tests\EndToEndTests\SLU "
cmd: cntk ConfigFile=globals.cntk+rnnlu.cntk
Error info in log: "Allocating matrices for forward and/or backward propagation. CNTK: Caught Win32 exception 0xc0000005: Access violation."
The configfile was used with a little modification: 1, "type=float" to "precision=float" 2, move "modelPath=$ExpDir$\cntkdebug.dnn" to the scope of "LSTM".
Can anyone know how to debug?
Please pull and give it another try:
(running from Tests\EndToEndTests\SLU) cntk configFile=globals.cntk+rnnlu.cntk DataDir=.\ ConfigDir=.\ OutputDir=<path to the output dir> RunDir=<path to the working dir, can be the same as OutputDir> DeviceId=-1
Hi, @raaaar ,

It seems still not work.
Weird. It works for me:
Validating network, final pass.
18 out of 62 nodes do not share the minibatch layout with the input data.
Post-processing network complete.
Loaded model with 62 nodes on CPU.
Training criterion node(s):
CrossEntropyWithSoftmax = CrossEntropyWithSoftmax
Allocating matrices for forward and/or backward propagation.
No PreCompute nodes found, skipping PreCompute step.
Starting Epoch 1: learning rate per sample = 0.100000 effective momentum = 0.900000 momentum as time constant = 94.9 samples
Starting minibatch loop.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 51 lines with a total of 36+51 tokens.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 0 lines with a total of 0+0 tokens.
EnsureDataAvailable: No more data.
Finished Epoch[ 1 of 3]: [Training Set] TrainLossPerSample = 4.7398555; TotalSamplesSeen = 81; AvgLearningRatePerSample = 0.1; EpochTime=4.93045
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 51 lines with a total of 36+51 tokens.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 0 lines with a total of 0+0 tokens.
EnsureDataAvailable: No more data.
Final Results: Minibatch[1-51]: SamplesSeen = 81 CrossEntropyWithSoftmax: CrossEntropyWithSoftmax/Sample = 4.4723632 Perplexity = 87.563405
Finished Epoch[ 1 of 3]: [Validation Set] TrainLossPerSample = 4.4723632
SGD: Saving checkpoint model 'cntkdebug.dnn.1'
Starting Epoch 2: learning rate per sample = 0.100000 effective momentum = 0.900000 momentum as time constant = 94.9 samples
Starting minibatch loop.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 51 lines with a total of 36+51 tokens.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 0 lines with a total of 0+0 tokens.
EnsureDataAvailable: No more data.
Finished Epoch[ 2 of 3]: [Training Set] TrainLossPerSample = 4.1812397; TotalSamplesSeen = 162; AvgLearningRatePerSample = 0.1; EpochTime=4.8067
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 51 lines with a total of 36+51 tokens.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 0 lines with a total of 0+0 tokens.
EnsureDataAvailable: No more data.
Final Results: Minibatch[1-51]: SamplesSeen = 81 CrossEntropyWithSoftmax: CrossEntropyWithSoftmax/Sample = 3.5786757 Perplexity = 35.826064
Finished Epoch[ 2 of 3]: [Validation Set] TrainLossPerSample = 3.5786757
SGD: Saving checkpoint model 'cntkdebug.dnn.2'
Starting Epoch 3: learning rate per sample = 0.100000 effective momentum = 0.900000 momentum as time constant = 94.9 samples
Starting minibatch loop.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 51 lines with a total of 36+51 tokens.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 0 lines with a total of 0+0 tokens.
EnsureDataAvailable: No more data.
Finished Epoch[ 3 of 3]: [Training Set] TrainLossPerSample = 2.9969333; TotalSamplesSeen = 243; AvgLearningRatePerSample = 0.1; EpochTime=4.67704
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 51 lines with a total of 36+51 tokens.
BatchLUSequenceParser: Parsing input data...
BatchLUSequenceParser: Parsed 0 lines with a total of 0+0 tokens.
EnsureDataAvailable: No more data.
Final Results: Minibatch[1-51]: SamplesSeen = 81 CrossEntropyWithSoftmax: CrossEntropyWithSoftmax/Sample = 2.2711188 Perplexity = 9.6902358
Finished Epoch[ 3 of 3]: [Validation Set] TrainLossPerSample = 2.2711188
SGD: Saving checkpoint model 'cntkdebug.dnn'
CNTKCommandTrainEnd: LSTM
Action "train" complete.
Could you give it another try and if it doesn't work, let me know the build info and the command line arguments you're using (the few first lines printed to stdout when you launch cntk).
The issue has been dormant for a long while. Please open a new issue if you still experience problems in the latest release.