CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Last Minibatch in epoch

Open SteFromGer opened this issue 10 years ago • 0 comments

Hello all,

I have a question concerning the training of cntk. I setup a config with Minibatch Size 2000 and EpochSize 0 with about 334713 training samples. The log file Shows 160 Minibatchs calculated in one epoch. 160 times 2000 equals 320000, but the provided data are 334713. This is what the "Finished Epoch" line shows me as well. What happens with the rest data? Are they calculated internally but not shown in the log file or are they dropped?

Another Question concerning these lines. Is the Output of the "Finished Epoch" line the same as for the action “Test” just for all Train data? If yes, why is it so much faster than the action “test”. Or rather does it show the result of the last data I am missing or is it for example the average of all CrossEntropyWithSoftmax Values in this Epoch (including the missing data).

this are the last 2 lines in the first epoch. I am missing Minibatch 161-170 with the last 14713 Samples:

Epoch[ 1 of 90]-Minibatch[ 151- 160]: CrossEntropyWithSoftmax = 0.42494141 * 20000; EvalErrorPrediction = 0.03435000 * 20000; time = 0.2876s; samplesPerSecond = 69550.7

Finished Epoch[ 1 of 90]: [Training] CrossEntropyWithSoftmax = 0.55716082 * 334713; EvalErrorPrediction = 0.11854932 * 334713; totalSamplesSeen = 334713; learningRatePerSample = 0.00040000002; epochTime=3.50426s

I am using CNTK 1.5

SteFromGer avatar Aug 04 '16 14:08 SteFromGer