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 'meerkat' has no attribute 'AbstractColumn' #374

Open
saswat0 opened this issue Sep 20, 2023 · 1 comment
Open

Comments

@saswat0
Copy link

saswat0 commented Sep 20, 2023

Describe the bug
Facing this error when trying the example snippet

To Reproduce

import meerkat as mk
from domino import embed

dp = mk.datasets.get("imagenette")
dx = embed(
    data=dp,
    input_col="img",
    encoder="clip"
)

Errors:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[3], line 1
----> 1 from domino import embed
      3 dx = embed(
      4     data=dp,
      5     input_col="img",
      6     encoder="clip"
      7 )

File /data2/user/anaconda_3/envs/ldm/lib/python3.8/site-packages/domino/__init__.py:1
----> 1 from ._embed import embed, encoders
      2 from ._slice.abstract import Slicer
      3 from ._slice.mixture import MixtureSlicer, DominoSlicer

File /data2/user/anaconda_3/envs/ldm/lib/python3.8/site-packages/domino/_embed/__init__.py:25
     21 encoders.register(robust, aliases=[])
     22 encoders.register(transformers, aliases=[])
---> 25 def infer_modality(col: mk.AbstractColumn):
     27     if isinstance(col, mk.ImageColumn):
     28         return "image"

AttributeError: module 'meerkat' has no attribute 'AbstractColumn'

Expected behavior
Expected the embedding to proceed without any hassles as mentioned in the documentation

System Information

  • Ubuntu-18.04
  • Cannot find meerkat version: AttributeError: module 'meerkat' has no attribute 'version'

Additional context
Add any other context about the problem here.

@jangsus1
Copy link

Seems like mk.AbstractColumn class is renamed to mk.Column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants