Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

'hub' is not definded  #68

@AselToktogulova

Description

@AselToktogulova

hello community,

I got this error

>>> from vectorhub.encoders.image.tfhub import BitSmall2Vec
>>> model=BitSmall2Vec()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ivaadmin/anaconda3/envs/x2vec/lib/python3.9/site-packages/vectorhub/encoders/image/tfhub/bit.py", line 27, in __init__
    self.init(model_url)
  File "/home/ivaadmin/anaconda3/envs/x2vec/lib/python3.9/site-packages/vectorhub/encoders/image/tfhub/bit.py", line 34, in init
    self.model = hub.load(self.model_url)
NameError: name 'hub' is not defined

what is missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions