NVlabs / dex-ycb-toolkit

A Python package that provides evaluation and visualization tools for the DexYCB dataset
https://dex-ycb.github.io
GNU General Public License v3.0
149 stars 25 forks source link

ModuleNotFoundError: No module named 'utils.eval_util' while testing examples/evaluate_hpe.py #31

Closed Roopesh-Nallakshyam closed 1 year ago

Roopesh-Nallakshyam commented 1 year ago

I was trying to test HPE (Hand Pose Estimation) as mentioned in readme and getting below error _python -m examples.evaluate_hpe.py Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details import(pkg_name) File "../codes/dex-ycb-toolkit/examples/evaluate_hpe.py", line 10, in from dex_ycb_toolkit.hpe_eval import HPEEvaluator File "../codes/dex-ycb-toolkit/dex_ycb_toolkit/hpe_eval.py", line 21, in from utils.eval_util import EvalUtil ModuleNotFoundError: No module named 'utils.evalutil'

I installed utils module as well using pip install utils. Could you please help me out here?

ychao-nvidia commented 1 year ago

EvalUtil is from the freihand submodule (here). Perhaps your freihand/ folder is empty since you did not clone with --recursive. Beside re-cloning, you can also fetch the submodules with git submodule update --init under dex-ycb-toolkit/.

Roopesh-Nallakshyam commented 1 year ago

Thank you, it is working after cloning freihand repo.