Closed gyfastas closed 2 years ago
It seems that the detectron2 is not correctly installed on your windows. Please make sure the detectron2 is correctly installed according to your operating system, CUDA version and etc.
try
cd hand_object_detector/lib
python setup.py build develop
it works for me.
hand_object_detector
where is hand_object_detector?
@sunmengnan
It is at ./detectors/hand_object_detector
.
@sunmengnan It is at
./detectors/hand_object_detector
.
(venv) [root@algo-10-143-1-10 frankmocap-main]# python -m demo.demo_bodymocap --input_path ./sample_data/han_short.mp4 --out_dir ./mocap_output --renderer_type pytorch3d
Loading Body Pose Estimator
use_smplx False
WARNING: You are using a SMPL model, with only 10 shape coefficients.
Cannot import OpendrRenderer
Cannot import Pytorch3dRenderer
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/opt/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/vtuber/project/frankmocap/frankmocap-main/demo/demo_bodymocap.py", line 178, in
Hi! Thank you for your great work! I tried running handmocap demo on windows (after following the installation guideline provided by https://github.com/carlosedubarreto/frankmocap_win_install ) and found it raises error in
handmocap/hand_bbox_detector.py
:line 30, in
from model.utils.config import cfg as cfgg
ModuleNotFoundError: No module named 'model'
Then I tried using
from detectors.hand_object_detector.lib.model.utils.config import cfg as cfgg
but it still does not works. The error is as follows:frankmocap\detectors\hand_object_detector\lib\model\roi_layers\nms.py", line 3, in
from model import _C
ModuleNotFoundError: No module named 'model'
Could you provide some suggestions? I'm a little bit confused by the importing