Browse Source
rm image dep
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
1 changed files with
2 additions and
2 deletions
-
isc.py
|
|
@ -86,8 +86,8 @@ class Isc(NNOperator): |
|
|
|
std=self.backbone.default_cfg['std']) |
|
|
|
]) |
|
|
|
|
|
|
|
def __call__(self, data: Union[List[towhee._types.Image], towhee._types.Image]): |
|
|
|
if isinstance(data, towhee._types.Image): |
|
|
|
def __call__(self, data: Union[List['towhee.types.Image'], 'towhee.types.Image']): |
|
|
|
if not isinstance(data, list): |
|
|
|
imgs = [data] |
|
|
|
else: |
|
|
|
imgs = data |
|
|
|