"docs/source/en/vscode:/vscode.git/clone" did not exist on "7caa3682e440ce506dc4674373052739f9d80303"
Unverified Commit e2755f2c authored by Double_V's avatar Double_V Committed by GitHub
Browse files

Merge pull request #4774 from zhiqiu/dev/fix_infer2

add no_grad for infer function
parents b1ba0f7a 17a46421
......@@ -53,6 +53,7 @@ def draw_det_res(dt_boxes, config, img, img_name, save_path):
logger.info("The detected Image saved in {}".format(save_path))
@paddle.no_grad()
def main():
global_config = config['Global']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment