From 6a389affb52576029dde99135825cfd3ee4c0d82 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Mon, 28 Mar 2022 15:35:53 +0800 Subject: [PATCH] Update Signed-off-by: Jael Gu --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11cbe73..68af9ef 100644 --- a/README.md +++ b/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() ```