Browse Source
Add example result
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
test
1 changed files with
3 additions and
2 deletions
-
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,8 +39,8 @@ dc.glob['path']('./dog.jpg') \ |
|
|
.select('vec') \ |
|
|
.select('vec') \ |
|
|
.to_list() |
|
|
.to_list() |
|
|
``` |
|
|
``` |
|
|
[array([0. , 0. , 0. , ..., 0. , 0.01748613, |
|
|
|
|
|
0. ], dtype=float32)] |
|
|
|
|
|
|
|
|
[array([0.05279015, 0. , 0. , ..., 0.00239191, 0.06632169, |
|
|
|
|
|
0. ], dtype=float32)] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Factory Constructor |
|
|
## Factory Constructor |
|
|