logo
Browse Source

Update

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
test
Jael Gu 3 years ago
parent
commit
6a389affb5
  1. 6
      README.md

6
README.md

@ -59,7 +59,7 @@ from towhee import dc
dc.glob('./dog.jpg') dc.glob('./dog.jpg')
.image_decode() .image_decode()
.image_embedding.timm('resnet50')
.image_embedding.timm(model_name='resnet50')
.show() .show()
``` ```
@ -70,8 +70,8 @@ from towhee import dc
dc.glob['path']('./dog.jpg') dc.glob['path']('./dog.jpg')
.image_decode['path', 'img']() .image_decode['path', 'img']()
.image_embedding.timm['img', 'vec']('resnet50')
.select('img')
.image_embedding.timm['img', 'vec'](model_name='resnet50')
.select('vec')
.show() .show()
``` ```

Loading…
Cancel
Save