提交 b8b6f2f0 编写于 作者: D Double_V 提交者: GitHub

add no_grad

上级 09604c38
......@@ -52,7 +52,7 @@ def draw_det_res(dt_boxes, config, img, img_name, save_path):
cv2.imwrite(save_path, src_im)
logger.info("The detected Image saved in {}".format(save_path))
@paddle.no_grad()
def main():
global_config = config['Global']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册