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
7c9d9ede
Unverified
Commit
7c9d9ede
authored
Jan 20, 2021
by
freezestudio
Committed by
GitHub
Jan 19, 2021
Browse files
Update anchor.py (#9646)
Fix hard-coded parameter values
parent
2b566593
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/vision/beta/ops/anchor.py
official/vision/beta/ops/anchor.py
+1
-1
No files found.
official/vision/beta/ops/anchor.py
View file @
7c9d9ede
...
@@ -203,7 +203,7 @@ class RpnAnchorLabeler(AnchorLabeler):
...
@@ -203,7 +203,7 @@ class RpnAnchorLabeler(AnchorLabeler):
unmatched_threshold
=
0.3
,
unmatched_threshold
=
0.3
,
rpn_batch_size_per_im
=
256
,
rpn_batch_size_per_im
=
256
,
rpn_fg_fraction
=
0.5
):
rpn_fg_fraction
=
0.5
):
AnchorLabeler
.
__init__
(
self
,
match_threshold
=
0.7
,
unmatched_threshold
=
0.3
)
AnchorLabeler
.
__init__
(
self
,
match_threshold
=
match_threshold
,
unmatched_threshold
=
unmatched_threshold
)
self
.
_rpn_batch_size_per_im
=
rpn_batch_size_per_im
self
.
_rpn_batch_size_per_im
=
rpn_batch_size_per_im
self
.
_rpn_fg_fraction
=
rpn_fg_fraction
self
.
_rpn_fg_fraction
=
rpn_fg_fraction
...
...
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