dotnet / dotnet/machinelearning-modelbuilder
The given key was not present in the dictionary.
- Dominant language
- Dockerfile
- Stars
- 285
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to train my custom model with the local Object detection scenario. everything go fine until Channel finished that crash with the following exception
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Microsoft.ML.TorchSharp.AutoFormerV2.ObjectDetectionMetrics.ImageIoU(List`1 objectLabel, List`1 annotation, Dictionary`2 iouDic, Dictionary`2 groundTruthBoxes)
at Microsoft.ML.TorchSharp.AutoFormerV2.ObjectDetectionMetrics.GenerateIOUDic(List`1 annotations, List`1 objectLabelList, Dictionary`2 iouDic, Dictionary`2 groundTruthBoxes)
at Microsoft.ML.TorchSharp.AutoFormerV2.ObjectDetectionMetrics.MeasureMetrics(IDataView dataView, Column labelCol, Column actualBoundingBoxColumn, Column predictedLabelCol, Column predictedBoundingBoxColumn, Column scoreCol)
at Microsoft.ML.ModelBuilder.AutoMLService.LocalObjectDetectionMetricManager.Evaluate(MLContext context, IDataView eval) in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/MetricManagers/LocalObjectDetectionMetricManager.cs:line 24
at Microsoft.ML.AutoML.SweepablePipelineRunner.Run(TrialSettings settings)
at Microsoft.ML.AutoML.SweepablePipelineRunner.RunAsync(TrialSettings settings, CancellationToken ct)
at Microsoft.ML.AutoML.AutoMLExperiment.d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLService.LocalObjectDetectionExperiment.d__13.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/LocalObjectDetectionExperiment.cs:line 133
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 169
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.