logo
Browse Source

rm _types

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 2 years ago
parent
commit
91f61a5317
  1. 2
      isc.py

2
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

Loading…
Cancel
Save