From ee6f4c286daa9c6481c04039ce34bd4e3a37bb0b Mon Sep 17 00:00:00 2001 From: shiyu22 Date: Fri, 24 Mar 2023 15:35:35 +0800 Subject: [PATCH] Update py Signed-off-by: shiyu22 --- image_embedding_resnet50.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/image_embedding_resnet50.py b/image_embedding_resnet50.py index 27de7a7..a863783 100644 --- a/image_embedding_resnet50.py +++ b/image_embedding_resnet50.py @@ -2,17 +2,11 @@ from towhee import pipe, ops, AutoPipes, AutoConfig @AutoConfig.register class ImageEmbeddingConfig: - """ - For UT - """ def __init__(self): self.model = 'resnet50' @AutoPipes.register def ImageEmbedding(config): - """ - For UT - """ return ( pipe.input('path') .map('path', 'img', ops.image_decode())