-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
Branch
main branch (1.x version, such as v1.0.0, or dev-1.x branch)
Prerequisite
- I have searched Issues and Discussions but cannot get the expected help.
- I have read the documentation but cannot get the expected help.
- The bug has not been fixed in the latest version.
Environment
mmaction2$ python utils/collect_env.py
python: can't open file 'utils/collect_env.py': [Errno 2] No such file or directory
Describe the bug
If you install following these steps here: https://mmaction2.readthedocs.io/en/latest/get_started/installation.html
You won't be able to run the demos, eg.:
(openmmlab) $ python demo/webcam_demo_spatiotemporal_det.py \
--input-video 0 \
--config configs/detection/slowonly/slowonly_kinetics400-pretrained-r101_8xb16-8x8x1-20e_ava21-rgb.py \
--checkpoint https://download.openmmlab.com/mmaction/detection/ava/slowonly_omnisource_pretrained_r101_8x8x1_20e_ava_rgb/slowonly_omnisource_pretrained_r101_8x8x1_20e_ava_rgb_20201217-16378594.pth \
--det-config demo/demo_configs/faster-rcnn_r50_fpn_2x_coco_infer.py \
--det-checkpoint http://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_2x_coco/faster_rcnn_r50_fpn_2x_coco_bbox_mAP-0.384_20200504_210434-a5d8aa15.pth \
--det-score-thr 0.9 \
--action-score-thr 0.5 \
--label-map tools/data/ava/label_map.txt \
--predict-stepsize 40 \
--output-fps 20 \
--show
Traceback (most recent call last):
File "demo/webcam_demo_spatiotemporal_det.py", line 23, in <module>
from mmaction.structures import ActionDataSample
File "/home/milhas/lixo/safecaring-demo/mmaction2/mmaction/__init__.py", line 16, in <module>
assert (digit_version(mmcv_minimum_version) <= mmcv_version
AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.
Reproduces the problem - code sample
No response
Reproduces the problem - command or script
No response
Reproduces the problem - error message
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels