facebookresearch / frankmocap

A Strong and Easy-to-use Single View 3D Hand+Body Pose Estimator
Other
2.12k stars 373 forks source link

hand_object_detector_path = './detectors/hand_object_detector' - need to be updated #159

Closed CGMikeG closed 2 years ago

CGMikeG commented 2 years ago

I was getting below error when running 'python -m demo.demo_handmocap --input_path ./sample_data/han_hand_short.mp4 --out_dir ./mocap_output'. I was able to resolve by changing hand_object_detector_path from './detectors/hand_object_detector' to'./detectors/hand_object_detector/lib' I was wondering if somebody can confirm if this is the correct way to do this and if somebody can update github.

File "/home/lalala/frankmocap/handmocap/hand_bbox_detector.py", line 31, in from model.utils.config import cfg as cfgg ModuleNotFoundError: No module named 'model'

Unfortunately, the next issue is below. When I check init file it is blank.

File "/home/lalala/frankmocap/detectors/hand_object_detector/lib/model/roi_layers/init.py", line 3, in from .nms import nms File "/home/lalala/frankmocap/detectors/hand_object_detector/lib/model/roi_layers/nms.py", line 3, in from model import _C ImportError: cannot import name '_C' from 'model' (./detectors/hand_object_detector/lib/model/init.py)