From d8e4db3057a6bfffc30bf14b6357a0440fc27bde Mon Sep 17 00:00:00 2001 From: hzwer <598460606@163.com> Date: Fri, 12 Aug 2022 13:13:46 +0800 Subject: [PATCH] Update inference_img.py --- inference_img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference_img.py b/inference_img.py index ea95d06..cee947e 100644 --- a/inference_img.py +++ b/inference_img.py @@ -67,7 +67,7 @@ img1 = F.pad(img1, padding) if args.ratio: if model.version >= 3.9: - img_list = [img0, model.inference(img0, img1), img1] + img_list = [img0, model.inference(img0, img1, args.ratio), img1] else: img0_ratio = 0.0 img1_ratio = 1.0