facebookresearch / facebookresearch/sam2

hydra.errors.MissingConfigException: Primary config module 'sam2' not found.

Open
#474 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I encountered an error when finetuning. The errors says:
![image](https://github.com/user-attachments/assets/1ca3b2f9-a711-4900-92d2-f6f6ab508d49)
And below is my file structure:
![image](https://github.com/user-attachments/assets/35f50797-bc6b-44bd-bc90-d6633b1b3a00)
Clearly there is an __init__ file and configure file. Can you help me with this issue? Thank you a lot!

Contributor guide

Open the contributing guide

Research direction

Start with the displayed file structure, the sam2 module, its __init__ file, and the configure file, then trace why finetuning cannot resolve the primary config module. Confirm the configuration is discoverable from the finetuning entry point and that the MissingConfigException no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.