10 writes to MetricsCallback
Microsoft.ML.Samples (3)
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
90
MetricsCallback
= (metrics) => Console.WriteLine(metrics),
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
86
MetricsCallback
= (metrics) => Console.WriteLine(metrics),
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
75
MetricsCallback
= (metrics) => Console.WriteLine(metrics),
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
90
MetricsCallback
= (metrics) => Console.WriteLine(metrics),
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
86
MetricsCallback
= (metrics) => Console.WriteLine(metrics),
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
75
MetricsCallback
= (metrics) => Console.WriteLine(metrics),
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
1511
MetricsCallback
= (metric) => Console.WriteLine(metric),
1645
MetricsCallback
= (metric) =>
1803
MetricsCallback
= (metric) => { Console.WriteLine(metric); lastEpoch = metric.Train != null ? metric.Train.Epoch : 0; },
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
565
options.
MetricsCallback
= (ImageClassificationMetrics metric) => { logger.Trace(metric.ToString()); };
6 references to MetricsCallback
Microsoft.ML.Vision (6)
ImageClassificationTrainer.cs (6)
562
if (options.
MetricsCallback
== null)
674
bool needValidationSet = _options.EarlyStoppingCriteria != null || _options.
MetricsCallback
!= null;
686
ImageClassificationMetrics.Dataset.Validation, _options.
MetricsCallback
);
699
ImageClassificationMetrics.Dataset.Train, _options.
MetricsCallback
,
717
validationSetPresent && (_options.EarlyStoppingCriteria != null || _options.
MetricsCallback
!= null) ?
941
Action<ImageClassificationMetrics> statisticsCallback = _options.
MetricsCallback
;