4 writes to LabelColumnName
Microsoft.ML.AutoML (1)
SweepableEstimator\Estimators\ObjectDetection.cs (1)
19LabelColumnName = param.LabelColumnName,
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionTrainer.cs (2)
144LabelColumnName = labelColumnName, 675LabelColumnName = ctx.LoadString(),
Microsoft.ML.TorchSharp.Tests (1)
ObjectDetectionTests.cs (1)
56LabelColumnName = "Labels",
11 references to LabelColumnName
Microsoft.ML.TorchSharp (11)
AutoFormerV2\ObjectDetectionTrainer.cs (11)
126Contracts.AssertValue(options.LabelColumnName); 181var labelCol = input.Schema.GetColumnOrNull(Option.LabelColumnName); 245var labelCol = input.GetColumn<VBuffer<uint>>(Parent.Option.LabelColumnName); 288DataViewRowCursor cursor = input.GetRowCursor(input.Schema[Parent.Option.LabelColumnName], input.Schema[Parent.Option.BoundingBoxColumnName], input.Schema[Parent.Option.ImageColumnName]); 292var labelGetter = cursor.GetGetter<VBuffer<uint>>(input.Schema[Parent.Option.LabelColumnName]); 462inputSchema.TryFindColumn(Option.LabelColumnName, out var labelCol); 480if (!inputSchema.TryFindColumn(Option.LabelColumnName, out var labelCol)) 481throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", Option.LabelColumnName); 483throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", Option.LabelColumnName, 613ctx.SaveNonEmptyString(Options.LabelColumnName); 706var labelCol = new DataViewSchema.DetachedColumn(options.LabelColumnName, type, meta.ToAnnotations());