logo
Browse Source

delete Image dep

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 2 years ago
parent
commit
9dcd5723a6
  1. 2
      timm_image.py

2
timm_image.py

@ -100,7 +100,7 @@ class TimmImage(NNOperator):
pass
@torch_no_grad
def __call__(self, data: Union[List[towhee._types.Image], towhee._types.Image]):
def __call__(self, data: Union[List['towhee.types.Image'], 'towhee.types.Image']):
if not isinstance(data, list):
imgs = [data]
else:

Loading…
Cancel
Save