Unverified Commit 3f78f4cf authored by derekjchow's avatar derekjchow Committed by GitHub
Browse files

Merge pull request #3494 from pkulzc/master

Update object detection with internal changes and remove unused BUILD files.
parents 73748d01 0319908c
...@@ -38,11 +38,17 @@ message WeightedL2LocalizationLoss { ...@@ -38,11 +38,17 @@ message WeightedL2LocalizationLoss {
optional bool anchorwise_output = 1 [default=false]; optional bool anchorwise_output = 1 [default=false];
} }
// SmoothL1 (Huber) location loss: .5 * x ^ 2 if |x| < 1 else |x| - .5 // SmoothL1 (Huber) location loss.
// The smooth L1_loss is defined elementwise as .5 x^2 if |x| <= delta and
// 0.5 x^2 + delta * (|x|-delta) otherwise, where x is the difference between
// predictions and target.
message WeightedSmoothL1LocalizationLoss { message WeightedSmoothL1LocalizationLoss {
// DEPRECATED, do not use. // DEPRECATED, do not use.
// Output loss per anchor. // Output loss per anchor.
optional bool anchorwise_output = 1 [default=false]; optional bool anchorwise_output = 1 [default=false];
// Delta value for huber loss.
optional float delta = 2 [default=1.0];
} }
// Intersection over union location loss: 1 - IOU // Intersection over union location loss: 1 - IOU
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment