mmhuman3d icon indicating copy to clipboard operation
mmhuman3d copied to clipboard

assert has_mmdet, 'Please install mmdet to run the demo.' AssertionError: Please install mmdet to run the demo. When I also install mmdet

Open smarino14 opened this issue 1 year ago • 5 comments

When I run the single person demo, I got the error:

assert has_mmdet, 'Please install mmdet to run the demo.' AssertionError: Please install mmdet to run the demo.

But I install this library.

smarino14 avatar Feb 07 '23 19:02 smarino14

same issue here.

jianwang-mpi avatar Feb 09 '23 16:02 jianwang-mpi

The problem is mmtrack requires scipy<=1.7.3, scipy 1.7.3 requires numpy<1.23.0, but mmdet requires numpy>=1.23.0

Uninstalling the mmtrack and upgrade scipy, numpy (to 1.23.x) solve the issue

The numpy 1.24.x does not work

jianwang-mpi avatar Feb 09 '23 16:02 jianwang-mpi

hello, Has the problem been solved?

shihzenq avatar Jun 28 '23 02:06 shihzenq

python demo/estimate_smpl.py
configs/hmr/resnet50_hmr_pw3d.py
data/checkpoints/resnet50_hmr_pw3d.pth
--single_person_demo
--det_config demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py
--det_checkpoint https://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_1x_coco/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
--input_path demo/resources/single_person_demo.mp4
--show_path vis_results/single_person_demo.mp4
--output demo_result
--smooth_type savgol
--speed_up_type deciwatch
--draw_bbox

When running this command, you must install mmtrack. When installing mmtrack, The problem is mmtrack requires scipy<=1.7.3, scipy 1.7.3 requires numpy<1.23.0, but mmdet requires numpy>=1.23.0. The problem is mmtrack requires Scipy <=1.7.3, Scipy 1.7.3 requires Numpy <= 1.23.0

Uninstalling the mmtrack and upgrade scipy, numpy (to 1.23.x) solve the issue. It's like entering a loop

shihzenq avatar Jun 28 '23 02:06 shihzenq

python demo/estimate_smpl.py configs/hmr/resnet50_hmr_pw3d.py data/checkpoints/resnet50_hmr_pw3d.pth --single_person_demo --det_config demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py --det_checkpoint https://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_1x_coco/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth --input_path demo/resources/single_person_demo.mp4 --show_path vis_results/single_person_demo.mp4 --output demo_result --smooth_type savgol --speed_up_type deciwatch --draw_bbox

When running this command, you must install mmtrack. When installing mmtrack, The problem is mmtrack requires scipy<=1.7.3, scipy 1.7.3 requires numpy<1.23.0, but mmdet requires numpy>=1.23.0. The problem is mmtrack requires Scipy <=1.7.3, Scipy 1.7.3 requires Numpy <= 1.23.0

Uninstalling the mmtrack and upgrade scipy, numpy (to 1.23.x) solve the issue. It's like entering a loop

so we can not get multi_person_demo as the demo needs both mmdet and mmtrack

Whiplash-18 avatar Mar 04 '24 16:03 Whiplash-18