Browse Source
rm _types
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
1 changed files with
1 additions and
1 deletions
-
isc.py
|
@ -174,7 +174,7 @@ class Isc(NNOperator): |
|
|
return path |
|
|
return path |
|
|
|
|
|
|
|
|
@arg(1, to_image_color('RGB')) |
|
|
@arg(1, to_image_color('RGB')) |
|
|
def convert_img(self, img: towhee._types.Image): |
|
|
|
|
|
|
|
|
def convert_img(self, img: 'towhee.types.Image'): |
|
|
img = PILImage.fromarray(img.astype('uint8'), 'RGB') |
|
|
img = PILImage.fromarray(img.astype('uint8'), 'RGB') |
|
|
return img |
|
|
return img |
|
|
|
|
|
|
|
|