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
wangsen
paddle_dbnet
Commits
7c7972f3
"vscode:/vscode.git/clone" did not exist on "0888a4ae2bff1098ba61375f43c30d5234a52ed9"
Unverified
Commit
7c7972f3
authored
Apr 28, 2022
by
topduke
Committed by
GitHub
Apr 28, 2022
Browse files
Merge branch 'PaddlePaddle:dygraph' into dygraph
parents
f5f8af4d
79640f5d
Changes
61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tools/infer_cls.py
tools/infer_cls.py
+2
-0
No files found.
tools/infer_cls.py
View file @
7c7972f3
...
@@ -57,6 +57,8 @@ def main():
...
@@ -57,6 +57,8 @@ def main():
continue
continue
elif
op_name
==
'KeepKeys'
:
elif
op_name
==
'KeepKeys'
:
op
[
op_name
][
'keep_keys'
]
=
[
'image'
]
op
[
op_name
][
'keep_keys'
]
=
[
'image'
]
elif
op_name
==
"SSLRotateResize"
:
op
[
op_name
][
"mode"
]
=
"test"
transforms
.
append
(
op
)
transforms
.
append
(
op
)
global_config
[
'infer_mode'
]
=
True
global_config
[
'infer_mode'
]
=
True
ops
=
create_operators
(
transforms
,
global_config
)
ops
=
create_operators
(
transforms
,
global_config
)
...
...
Prev
1
2
3
4
Next
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