2 writes to Epoch
Microsoft.ML.Vision (2)
ImageClassificationTrainer.cs (2)
1025metrics.Train.Epoch = epoch; 1053metrics.Train.Epoch = epoch;
14 references to Epoch
Microsoft.ML.TensorFlow.Tests (9)
TensorflowTests.cs (9)
1653crossEntropyTraining[metric.Train.Epoch] = metric.Train.CrossEntropy; 1655if (metric.Train.Epoch > 0) 1656Assert.True(crossEntropyTraining[metric.Train.Epoch - 1] > crossEntropyTraining[metric.Train.Epoch]); 1661crossEntropyValidation[metric.Train.Epoch] = metric.Train.CrossEntropy; 1663if (metric.Train.Epoch > 0) 1664Assert.True(crossEntropyValidation[metric.Train.Epoch - 1] > crossEntropyValidation[metric.Train.Epoch]); 1803MetricsCallback = (metric) => { Console.WriteLine(metric); lastEpoch = metric.Train != null ? metric.Train.Epoch : 0; },
Microsoft.ML.Vision (5)
ImageClassificationTrainer.cs (5)
152/// Accuracy of the batch on this <see cref="Epoch"/>. Higher the better. 157/// Cross-Entropy (loss) of the batch on this <see cref="Epoch"/>. Lower 163/// Learning Rate used for this <see cref="Epoch"/>. Changes for learning rate scheduling. 174$"Epoch: {Epoch,3}, Accuracy: {Accuracy,10}, Cross-Entropy: {CrossEntropy,10}, Learning Rate: {LearningRate,10}"; 177$"Epoch: {Epoch,3}, Accuracy: {Accuracy,10}, Cross-Entropy: {CrossEntropy,10}";