Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
22b5b0c6
"git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "bc46253a1736796c6a42a75e8c8e63f8162a41b1"
Commit
22b5b0c6
authored
Jul 30, 2020
by
Kaushik Shivakumar
Browse files
self code-review to clean up
parent
4022aae5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
research/object_detection/core/losses.py
research/object_detection/core/losses.py
+1
-1
research/object_detection/core/losses_test.py
research/object_detection/core/losses_test.py
+0
-1
No files found.
research/object_detection/core/losses.py
View file @
22b5b0c6
...
@@ -225,7 +225,7 @@ class WeightedGIOULocalizationLoss(Loss):
...
@@ -225,7 +225,7 @@ class WeightedGIOULocalizationLoss(Loss):
Args:
Args:
prediction_tensor: A float tensor of shape [batch_size, num_anchors, 4]
prediction_tensor: A float tensor of shape [batch_size, num_anchors, 4]
representing the predicted boxes
in the form
representing the
decoded
predicted boxes
target_tensor: A float tensor of shape [batch_size, num_anchors, 4]
target_tensor: A float tensor of shape [batch_size, num_anchors, 4]
representing the decoded target boxes
representing the decoded target boxes
weights: a float tensor of shape [batch_size, num_anchors]
weights: a float tensor of shape [batch_size, num_anchors]
...
...
research/object_detection/core/losses_test.py
View file @
22b5b0c6
...
@@ -28,7 +28,6 @@ from object_detection.core import box_list
...
@@ -28,7 +28,6 @@ from object_detection.core import box_list
from
object_detection.core
import
losses
from
object_detection.core
import
losses
from
object_detection.core
import
matcher
from
object_detection.core
import
matcher
from
object_detection.utils
import
test_case
from
object_detection.utils
import
test_case
from
object_detection.utils
import
ops
class
WeightedL2LocalizationLossTest
(
test_case
.
TestCase
):
class
WeightedL2LocalizationLossTest
(
test_case
.
TestCase
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment