提交 8b499c37 编写于 作者: L LDOUBLEV

move import to the front

上级 b5a1fe64
...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册