logo
Browse Source

fix the readme.

Signed-off-by: wxywb <xy.wang@zilliz.com>
main
wxywb 2 years ago
parent
commit
56d0fd9808
  1. 2
      README.md

2
README.md

@ -134,7 +134,7 @@ Get a list of all supported model names or supported model names for specified m
from towhee import ops from towhee import ops
op = towhee.ops.image_text_embedding.clip(model_name='clip_vit_base_patch16', modality='image').get_op()
op = ops.image_text_embedding.clip(model_name='clip_vit_base_patch16', modality='image').get_op()
full_list = op.supported_model_names() full_list = op.supported_model_names()
onnx_list = op.supported_model_names(format='onnx') onnx_list = op.supported_model_names(format='onnx')
print(f'Onnx-support/Total Models: {len(onnx_list)}/{len(full_list)}') print(f'Onnx-support/Total Models: {len(onnx_list)}/{len(full_list)}')

Loading…
Cancel
Save