Skip to content

eval_baseline.py: read_meta undefined in test dataloader #153

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_metaread_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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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