logo
Browse Source

Update readme

Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
junjie.jiang 12 months ago
parent
commit
d1f1e05c11
  1. 5
      README.md

5
README.md

@ -29,13 +29,12 @@ p = (
)
# table cols: id, image_path, label
for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html')):
for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html', exclude='index.html')):
print(p(data).to_list(kv_format=True))
# batch
for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html'), batch_size=10):
for data in DataLoader(ops.data_source.readthedocs('https://towhee.readthedocs.io/en/latest/', include='html', exclude='index.html'), batch_size=10):
p.batch(data)
```

Loading…
Cancel
Save