Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #3192

Open
2 tasks done
LZhen624 opened this issue Feb 19, 2025 · 0 comments
Open
2 tasks done

[Bug] #3192

LZhen624 opened this issue Feb 19, 2025 · 0 comments

Comments

@LZhen624
Copy link

Prerequisite

Environment

mmcv版本 2.1.0
mmpose版本 1.3.2
mmengine版本 0.10.6
mmdet版本 3.2.0
torch版本 2.4.1+cu124
True
cuda版本 12.4

Reproduces the problem - code sample

python demo/topdown_demo_with_mmdet.py demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py https://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_1x_coco/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth projects/rtmpose/rtmpose/body_2d_keypoint/rtmpose-m_8xb512-700e_body8-halpe26-256x192.py rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.pth --input D:/biyelunwen/mmpose-main/mmpose/data/test/1.mp4 --output-root D:/biyelunwen/mmpose-main/mmpose/outputs --bbox-thr 0.5 --kpt-thr 0.5 --nms-thr 0.3 --radius 2 --thickness 1 --draw-bbox --show-kpt-idx --save-predictions

Reproduces the problem - command or script

python demo/topdown_demo_with_mmdet.py demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py https://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_1x_coco/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth projects/rtmpose/rtmpose/body_2d_keypoint/rtmpose-m_8xb512-700e_body8-halpe26-256x192.py rtmpose-m_simcc-body7_pt-body7-halpe26_700e-256x192-4d3e73dd_20230605.pth --input D:/biyelunwen/mmpose-main/mmpose/data/test/1.mp4 --output-root D:/biyelunwen/mmpose-main/mmpose/outputs --bbox-thr 0.5 --kpt-thr 0.5 --nms-thr 0.3 --radius 2 --thickness 1 --draw-bbox --show-kpt-idx --save-predictions

Reproduces the problem - error message

D:\Anoconda3\envs\RE\lib\site-packages\mmengine\optim\optimizer\zero_optimizer.py:11: DeprecationWarning: TorchScript support for functional optimizers is deprecated and will be removed in a future PyTorch release. Consider using the torch.compile optimizer instead.
from torch.distributed.optim import
:219: RuntimeWarning: scipy.lib.messagestream.MessageStream size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
D:\Anoconda3\envs\RE\lib\site-packages\mmcv\cnn\bricks\transformer.py:33: UserWarning: Fail to import MultiScaleDeformableAttention from mmcv.ops.multi_scale_deform_attn, You should install mmcv rather than mmcv-lite if you need this module.
warnings.warn('Fail to import MultiScaleDeformableAttention from '
Traceback (most recent call last):
File "demo/topdown_demo_with_mmdet.py", line 15, in
from mmpose.apis import inference_topdown
File "D:\Anoconda3\envs\RE\lib\site-packages\mmpose\apis_init
.py", line 2, in
from .inference import (collect_multi_frames, inference_bottomup,
File "D:\Anoconda3\envs\RE\lib\site-packages\mmpose\apis\inference.py", line 17, in
from mmpose.models.builder import build_pose_estimator
File "D:\Anoconda3\envs\RE\lib\site-packages\mmpose\models_init_.py", line 8, in
from .heads import * # noqa
File "D:\Anoconda3\envs\RE\lib\site-packages\mmpose\models\heads_init_.py", line 11, in
from .transformer_heads import EDPoseHead
File "D:\Anoconda3\envs\RE\lib\site-packages\mmpose\models\heads\transformer_heads_init_.py", line 2, in
from .edpose_head import EDPoseHead
File "D:\Anoconda3\envs\RE\lib\site-packages\mmpose\models\heads\transformer_heads\edpose_head.py", line 14, in
from mmcv.ops import MultiScaleDeformableAttention
File "D:\Anoconda3\envs\RE\lib\site-packages\mmcv\ops_init_.py", line 3, in
from .active_rotated_filter import active_rotated_filter
File "D:\Anoconda3\envs\RE\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in
ext_module = ext_loader.load_ext(
File "D:\Anoconda3\envs\RE\lib\site-packages\mmcv\utils\ext_loader.py", line 13, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "D:\Anoconda3\envs\RE\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed while importing _ext: 找不到指定的模块。

Additional information

您好,能否帮忙看看这个问题咋解决呀,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant