facebookresearch / facebookresearch/sam2
hydra.errors.MissingConfigException: Primary config module 'sam2' not found.
- 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:

And below is my file structure:

Clearly there is an __init__ file and configure file. Can you help me with this issue? Thank you a lot!
Contributor 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