logo
Browse Source

Update

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
1261d00a0d
  1. 7
      README.md

7
README.md

@ -20,7 +20,7 @@ and use the pretrained ISC model ('resnet50') to generate an image embedding.
*Write a same pipeline with explicit inputs/outputs name specifications:*
- **option 1:**
- **option 1 (towhee>=0.9.0):**
```python
from towhee.dc2 import pipe, ops, DataCollection
@ -32,7 +32,7 @@ p = (
.output('img', 'vec')
)
DataCollection(p('towhee.jpeg')).show()
DataCollection(p('towhee.jpg')).show()
```
<img src="./result.png" height="150px"/>
@ -111,6 +111,3 @@ from towhee import ops
op = ops.image_embedding.isc().get_op()
op.save_model('onnx', 'test.onnx')
```

Loading…
Cancel
Save