towhee icon indicating copy to clipboard operation
towhee copied to clipboard

[Bug]: operator towhee/load-image not found!

Open JinXia77 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [ ] I have searched the existing issues

Current Behavior

I followed the process of offical document of towhee DataCollection occured "operator towhee/load-image not found!" error when I run below codes. dataset = DataCollection.from_glob('towhee.jpeg') \ .load_image() \ .random_resize_crop(224) \ .random_horizontal_flip() \ .cvt_color('RGB2BGR') \ .normalize() \ .towhee.image_embedding(model_name='resnet101') # redirect function call to towhee operators

Expected Behavior

No response

Steps To Reproduce

1. In the towhee env followed by offical document procedure
2. from towhee import DataCollection
3. run the previous code and occur the errors shown above

Environment

- Towhee version(e.g. v0.1.3 or 8b23a93):
- OS(Ubuntu or CentOS):ubuntu
- CPU/Memory:cpu
- GPU:
- Others:

Anything else?

No response

JinXia77 avatar Aug 02 '22 06:08 JinXia77

Recently, we changed some API name, and some example has expired. We will fix it soon, thanks very much.

binbinlv avatar Aug 02 '22 07:08 binbinlv

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen.

stale[bot] avatar Sep 01 '22 19:09 stale[bot]