logo
Browse Source

Add example result

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

3
README.md

@ -26,6 +26,7 @@ dc.glob('./dog.jpg') \
.image_embedding.timm(model_name='resnet50') \ .image_embedding.timm(model_name='resnet50') \
.show() .show()
``` ```
| [0.052790146, 0.0, 0.0, ...] shape=(2048,) |
*Write a same pipeline with explicit inputs/outputs name specifications:* *Write a same pipeline with explicit inputs/outputs name specifications:*
@ -38,7 +39,7 @@ dc.glob['path']('./dog.jpg') \
.select('vec') \ .select('vec') \
.to_list() .to_list()
``` ```
[array([0. , 0. , 0. , ..., 0. , 0.01748613,
[array([0.05279015, 0. , 0. , ..., 0.00239191, 0.06632169,
0. ], dtype=float32)] 0. ], dtype=float32)]

Loading…
Cancel
Save