Browse Source
Update readme
Signed-off-by: junjie.jiang <junjie.jiang@zilliz.com>
main
1 changed files with
2 additions and
3 deletions
-
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) |
|
|
|
``` |
|
|
|
|
|
|
|