Skip to content

ModuleNotFoundError: No module named 'einops' #212

Description

@cuihenggang
    from sam3.model.sam3_image_processor import Sam3Processor
../pip__310__sam3_0_1_0_post3/sam3/__init__.py:3: in <module>
    from .model_builder import build_sam3_image_model
../pip__310__sam3_0_1_0_post3/sam3/model_builder.py:10: in <module>
    from sam3.model.decoder import (
../pip__310__sam3_0_1_0_post3/sam3/model/decoder.py:13: in <module>
    from sam3.sam.transformer import RoPEAttention
../pip__310__sam3_0_1_0_post3/sam3/sam/__init__.py:4: in <module>
    from .transformer import TwoWayTransformer
../pip__310__sam3_0_1_0_post3/sam3/sam/transformer.py:10: in <module>
    from sam3.sam.rope import apply_rotary_enc, apply_rotary_enc_real, compute_axial_cis
../pip__310__sam3_0_1_0_post3/sam3/sam/rope.py:13: in <module>
    from einops import rearrange, repeat
E   ModuleNotFoundError: No module named 'einops'

It looks like einops is missing in pyproject.toml.

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