From 3ccaa0451babaf9314e9d9b2ca936be349b92984 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Mon, 11 Mar 2024 11:00:43 +0800 Subject: [PATCH] add file --- app/service/outfit_matcher/outfit_evaluator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/service/outfit_matcher/outfit_evaluator.py b/app/service/outfit_matcher/outfit_evaluator.py index 538eba2..a762855 100644 --- a/app/service/outfit_matcher/outfit_evaluator.py +++ b/app/service/outfit_matcher/outfit_evaluator.py @@ -34,6 +34,7 @@ def imnormalize(img, mean, std, to_rgb=True): cv2.multiply(img, stdinv, img) # inplace return img + def load_image(img_path): if 'http' in img_path: file = requests.get(img_path)