Skip to content

Commit e92314d

Browse files
add more options
1 parent cc05a8c commit e92314d

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

src/Microsoft.ML.AutoML/CodeGen/object_detection_search_space.json

+18-3
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@
1212
"type": "string",
1313
"default": "PredictedLabel"
1414
},
15+
{
16+
"name": "PredictedBoundingBoxColumnName",
17+
"type": "string",
18+
"default": "PredictedBoundingBoxes"
19+
},
1520
{
1621
"name": "BoundingBoxColumnName",
1722
"type": "string",
18-
"default": "BoundingBox"
23+
"default": "BoundingBoxes"
1924
},
2025
{
2126
"name": "ImageColumnName",
@@ -34,13 +39,23 @@
3439
},
3540
{
3641
"name": "InitLearningRate",
37-
"type": "float",
42+
"type": "double",
3843
"default": 1.0
3944
},
4045
{
4146
"name": "WeightDecay",
42-
"type": "float",
47+
"type": "double",
4348
"default": 0.0
49+
},
50+
{
51+
"name": "IOUThreshold",
52+
"type": "double",
53+
"default": 0.5
54+
},
55+
{
56+
"name": "ScoreThreshold",
57+
"type": "double",
58+
"default": 0.5
4459
}
4560
]
4661
}

src/Microsoft.ML.AutoML/CodeGen/search-space-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@
201201
"AddKeyValueAnnotationsAsText",
202202
"Arch",
203203
"PredictedLabelColumnName",
204+
"PredictedBoundingBoxColumnName",
204205
"BoundingBoxColumnName",
205206
"ImageColumnName",
206207
"IOUThreshold",

src/Microsoft.ML.AutoML/SweepableEstimator/Estimators/ObjectDetection.cs

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public override IEstimator<ITransformer> BuildFromOption(MLContext context, Obje
2424
MaxEpoch = param.MaxEpoch,
2525
InitLearningRate = param.InitLearningRate,
2626
WeightDecay = param.WeightDecay,
27+
PredictedBoundingBoxColumnName = param.PredictedBoundingBoxColumnName,
28+
ScoreThreshold = param.ScoreThreshold,
29+
Steps = param.Steps,
30+
IOUThreshold = param.IOUThreshold,
2731
};
2832

2933
return context.MulticlassClassification.Trainers.ObjectDetection(option);

0 commit comments

Comments
 (0)