logo
Browse Source

Update README

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
shiyu22 3 years ago
parent
commit
d5cd7be528
  1. 2
      README.md

2
README.md

@ -49,7 +49,7 @@ $ pip3 install towhee
>>> from towhee import pipeline >>> from towhee import pipeline
>>> from PIL import Image >>> from PIL import Image
>>> img = Image.open('path/to/your/image')
>>> img = Image.open('path/to/your/image') # for example, './test_data/test.jpg'
>>> embedding_pipeline = pipeline('towhee/image-embedding-resnet50') >>> embedding_pipeline = pipeline('towhee/image-embedding-resnet50')
>>> embedding = embedding_pipeline(img) >>> embedding = embedding_pipeline(img)
``` ```

Loading…
Cancel
Save