Skip to content

: Cannot find primary config #721

@zkailinzhang

Description

@zkailinzhang

❌ 流水线初始化失败: Cannot find primary config '/models/sam2/sam2.1_hiera_t.yaml'. Check that it's in your config search path.

Config search path:
provider=hydra, path=pkg://hydra.conf
provider=main, path=pkg://sam2
provider=schema, path=structured://

code here:
checkpoint = "models/sam2/sam2.1_hiera_tiny.pt"
model_cfg = "/models/sam2/sam2.1_hiera_t.yaml"
self.predictor = SAM2ImagePredictor(build_sam2(model_cfg, checkpoint))

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