Skip to content

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

@junka007

Description

@junka007

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

Metadata

Metadata

Assignees

Labels

kind/bugIssues or changes related a bugtriage/as-designedIndicates an issue is not a bug and works as designed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions