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. 5
      README.md

5
README.md

@ -26,6 +26,7 @@ dc.glob('./dog.jpg') \
.image_embedding.timm(model_name='resnet50') \
.show()
```
| [0.052790146, 0.0, 0.0, ...] shape=(2048,) |
*Write a same pipeline with explicit inputs/outputs name specifications:*
@ -38,8 +39,8 @@ dc.glob['path']('./dog.jpg') \
.select('vec') \
.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

Loading…
Cancel
Save