Browse Source
Update
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
test
1 changed files with
3 additions and
3 deletions
-
README.md
|
|
@ -59,7 +59,7 @@ from towhee import dc |
|
|
|
|
|
|
|
dc.glob('./dog.jpg') |
|
|
|
.image_decode() |
|
|
|
.image_embedding.timm('resnet50') |
|
|
|
.image_embedding.timm(model_name='resnet50') |
|
|
|
.show() |
|
|
|
``` |
|
|
|
|
|
|
@ -70,8 +70,8 @@ from towhee import dc |
|
|
|
|
|
|
|
dc.glob['path']('./dog.jpg') |
|
|
|
.image_decode['path', 'img']() |
|
|
|
.image_embedding.timm['img', 'vec']('resnet50') |
|
|
|
.select('img') |
|
|
|
.image_embedding.timm['img', 'vec'](model_name='resnet50') |
|
|
|
.select('vec') |
|
|
|
.show() |
|
|
|
``` |
|
|
|
|
|
|
|