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
8b499c37
Commit
8b499c37
authored
Jul 28, 2020
by
LDOUBLEV
Browse files
move import to the front
parent
b5a1fe64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ppocr/utils/utility.py
ppocr/utils/utility.py
+1
-3
No files found.
ppocr/utils/utility.py
View file @
8b499c37
...
@@ -16,6 +16,7 @@ import logging
...
@@ -16,6 +16,7 @@ import logging
import
os
import
os
import
imghdr
import
imghdr
import
cv2
import
cv2
from
paddle
import
fluid
def
initial_logger
():
def
initial_logger
():
...
@@ -90,9 +91,6 @@ def check_and_read_gif(img_path):
...
@@ -90,9 +91,6 @@ def check_and_read_gif(img_path):
return
None
,
False
return
None
,
False
from
paddle
import
fluid
def
create_multi_devices_program
(
program
,
loss_var_name
):
def
create_multi_devices_program
(
program
,
loss_var_name
):
build_strategy
=
fluid
.
BuildStrategy
()
build_strategy
=
fluid
.
BuildStrategy
()
build_strategy
.
memory_optimize
=
False
build_strategy
.
memory_optimize
=
False
...
...
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