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() ```