From 19dd98c25c41c3ab8504b8e19a3f6cad5e5a2d6a Mon Sep 17 00:00:00 2001 From: "junjie.jiangjjj" Date: Sun, 26 Jun 2022 17:54:38 +0800 Subject: [PATCH] update --- image_decode_cv2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_decode_cv2.py b/image_decode_cv2.py index 1ae50cb..b6a6012 100644 --- a/image_decode_cv2.py +++ b/image_decode_cv2.py @@ -14,7 +14,7 @@ from towhee.utils.log import engine_log @register( - input_schema=[(str, (-1,))], + input_schema=[(str, (1,))], output_schema=[(Image, (-1, -1, 3))] ) class ImageDecoder(PyOperator):