CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

PennTreebankExample with noiseContrastiveEstimation

Open ghost opened this issue 10 years ago • 3 comments

When I run the PennTreebankExample with:

trainingCriterion = "noiseContrastiveEstimation"

It seems to work on GPU but it SegFaults on CPU.

ghost avatar Mar 08 '16 03:03 ghost

Seems to be running on CPU. Didn't get a SegFault on a machine with GPU (but executing the Debug_CPUONLY build). I will try next on a machine without a GPU.

gaizkan avatar Mar 15 '16 10:03 gaizkan

The example throws an assertion in CPUMatrix::LocateColumn. This happens on a non-GPU machine. Marking this as a bug. From the log: `Post-processing network complete.

SGD using CPU.

Training criterion node(s): TrainNodeClassBasedCrossEntropy = NCEBasedCrossEntropyWithSoftmax

Evaluation criterion node(s): EvalNodeClassBasedCrossEntrpy = ClassBasedCrossEntropyWithSoftmax

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.000000 momentum as time constant = 0.0 samples

Starting minibatch loop. LMSequenceReader: Reading epoch data... 42068 sequences read. Assertion failed: col < m_numCols, file CPUMatrix.cpp, line 1428`

col = 144, m_numCols = 108

gaizkan avatar Mar 16 '16 12:03 gaizkan

please reopen if you still run into problem with the most recent bits.

wolfma61 avatar Jul 13 '17 17:07 wolfma61