mmaction2
mmaction2 copied to clipboard
ImportError: Please install mmdet to use init_detector. For OpenMMLAB codebases, you may need to install mmcv-full first before you install the particular codebase.
Branch
0.x branch (0.x version, such as v0.24.1
)
Prerequisite
- [X] I have searched Issues and Discussions but cannot get the expected help.
- [X] I have read the documentation but cannot get the expected help.
- [X] The bug has not been fixed in the latest version.
Environment
mmaction2 0.22.0 d:\code\mmaction2-0.22.0 mmcls 0.25.0 mmcv-full 1.4.6 mmdet 2.20.0 d:\code\mmaction2-0.22.0\mmdetection-2.20.0 mmtrack 0.14.0 d:\code\mmaction2-0.22.0\mmdetection-2.20.0\src\mmtrack
Describe the bug
test >>webcam_demo_spatiotemporal_det.py
Reproduces the problem - code sample
D:\Anaconda3\envs\mmact22\python.exe D:/CODE/mmaction2-0.22.0/demo/webcam_demo_spatiotemporal_det.py
D:\Anaconda3\envs\mmact22\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-full
if you need this module.
warnings.warn('Fail to import MultiScaleDeformableAttention
from '
D:\CODE\mmaction2-0.22.0\mmdetection-2.20.0\mmdet\models\utils\transformer.py:26: UserWarning: MultiScaleDeformableAttention
in MMCV has been moved to mmcv.ops.multi_scale_deform_attn
, please update your MMCV
warnings.warn(
D:\CODE\mmaction2-0.22.0\mmdetection-2.20.0\mmdet\models\utils\transformer.py:26: UserWarning: MultiScaleDeformableAttention
in MMCV has been moved to mmcv.ops.multi_scale_deform_attn
, please update your MMCV
warnings.warn(
D:\CODE\mmaction2-0.22.0\mmdetection-2.20.0\mmdet\models\utils\transformer.py:26: UserWarning: MultiScaleDeformableAttention
in MMCV has been moved to mmcv.ops.multi_scale_deform_attn
, please update your MMCV
warnings.warn(
D:\CODE\mmaction2-0.22.0\mmdetection-2.20.0\mmdet\models\utils\transformer.py:26: UserWarning: MultiScaleDeformableAttention
in MMCV has been moved to mmcv.ops.multi_scale_deform_attn
, please update your MMCV
warnings.warn(
Traceback (most recent call last):
File "D:/CODE/mmaction2-0.22.0/demo/webcam_demo_spatiotemporal_det.py", line 856, in
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
No response