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
9a1b8990
"magic_pdf/git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "c4010ae02f02ab13f31c336161659cc6eae39104"
Commit
9a1b8990
authored
Jun 03, 2021
by
Vishnu Banna
Browse files
nms ops used by detection generator
parent
fb2b278d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
official/vision/beta/projects/yolo/ops/box_ops.py
official/vision/beta/projects/yolo/ops/box_ops.py
+0
-2
official/vision/beta/projects/yolo/ops/math_ops.py
official/vision/beta/projects/yolo/ops/math_ops.py
+0
-1
No files found.
official/vision/beta/projects/yolo/ops/box_ops.py
View file @
9a1b8990
import
tensorflow
as
tf
import
tensorflow.keras.backend
as
K
from
official.vision.beta.projects.yolo.ops
import
math_ops
from
typing
import
Tuple
,
Union
import
math
...
...
official/vision/beta/projects/yolo/ops/math_ops.py
View file @
9a1b8990
"""A set of private math operations used to safely implement the yolo loss"""
import
tensorflow
as
tf
import
tensorflow.keras.backend
as
K
def
rm_nan_inf
(
x
,
val
=
0.0
):
...
...
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