Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: AttributeError: module 'towhee' has no attribute 'glob' #2614

Closed
1 task
junka007 opened this issue Jul 7, 2023 · 2 comments
Closed
1 task

[Bug]: AttributeError: module 'towhee' has no attribute 'glob' #2614

junka007 opened this issue Jul 7, 2023 · 2 comments
Assignees
Labels
kind/bug Issues or changes related a bug triage/as-designed Indicates an issue is not a bug and works as designed

Comments

@junka007
Copy link

junka007 commented Jul 7, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

[root@localhost towhee]# python3
Python 3.8.13 (default, Jul 7 2023, 09:39:03)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import towhee
towhee.glob'path'
... .image_decode'path', 'img'
... .image_embedding.timm'img', 'vec'
... .select'img', 'vec'
... .show()
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'towhee' has no attribute 'glob'
towhee.glob'path'.image_decode'path', 'img'.image_embedding.timm'img', 'vec'.select'img', 'vec'.show()
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'towhee' has no attribute 'glob'

Expected Behavior

OK

Steps To Reproduce

[root@localhost towhee]# pip3 show towhee
Name: towhee
Version: 1.1.1
Summary: Towhee is a framework that helps you encode your unstructured data into embeddings.
Home-page: https://github.com/towhee-io/towhee
Author: Towhee Team
Author-email: [email protected]
License: http://www.apache.org/licenses/LICENSE-2.0
Location: /usr/local/python3/lib/python3.8/site-packages
Requires: numpy, pydantic, requests, tabulate, tenacity, tqdm, twine
Required-by:

Environment

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

Anything else?

No response

@junka007 junka007 added kind/bug Issues or changes related a bug needs-triage Issues needs triage labels Jul 7, 2023
@junjiejiangjjj
Copy link
Contributor

After towhee 1.0, new interfaces were used, the docs: https://towhee.readthedocs.io/en/latest/pipeline/usage.html#use-towhee-operator

@binbinlv binbinlv added triage/as-designed Indicates an issue is not a bug and works as designed and removed needs-triage Issues needs triage labels Jul 7, 2023
@junka007
Copy link
Author

junka007 commented Jul 7, 2023

TKS

@junka007 junka007 closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug triage/as-designed Indicates an issue is not a bug and works as designed
Projects
None yet
Development

No branches or pull requests

3 participants