eval_baseline.py: read_meta undefined in test dataloader
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 86/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start in moge/test/dataloader.py at _load_instance and compare its metadata loading with moge/train/dataloader.py and moge/utils/io.py. Run moge/scripts/eval_baseline.py with configs/eval/benchmarks/diode.json and baselines/da_v2.py; done means the NameError is gone and the evaluation proceeds without the environment's pipeline package shadowing MoGe's import.
Written by the indexing model from the issue text.
Description
Running moge/scripts/eval_baseline.py with configs/eval/benchmarks/diode.json and baselines/da_v2.py fails:
File "moge/test/dataloader.py", line 96, in _load_instance
meta = read_meta(Path(path, 'meta.json'))
NameError: name 'read_meta' is not defined
moge/train/dataloader.py uses read_json for the same path; moge/utils/io.py defines read_json but not read_meta.
Suggested fix: read_meta → read_json in moge/test/dataloader.py.
Note: a PyPI package named pipeline in the same venv can shadow MoGe's import pipeline in the test dataloader.
- Dominant language
- JavaScript
- Stars
- 3k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/MoGe
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·