-
Notifications
You must be signed in to change notification settings - Fork 191
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
Running video demo #20
Comments
Hi, you can try the web demo here link. As demonstrated in the error msg, it seems that the error is caused that the installed package is |
Hi, it worked for me like in the web demo with YOLOX (proper installation order):
|
thank kbpk, for nvidia rtx 2080ti , 3090ti install cuda 11.7 (compatible to torch 1.12.1) git clone https://github.com/ViTAE-Transformer/ViTPose.git |
It's still not working for me. It seems the |
Video demo available at https://huggingface.co/spaces/hysts/ViTPose-transformers. Code is open-source at https://huggingface.co/spaces/hysts/ViTPose-transformers/tree/main. See also #157 |
Hello,
I tried to run the video demo using mmdet:
python demo/top_down_pose_tracking_demo_with_mmdet.py ./demo/mmdetection_cfg/faster_rcnn_r50_fpn_coco.py ./faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/ViTPose_base_coco_256x192.py ./vitpose-b.pt --video-path ./test.MOV --out-video-root ./output_video/
but I have errors due to the version compatibility between mmcv, mmdet et the current ViTPose (or mmpose) version.
So here what I do, I install mmcv from sources (1.3.9 version as recommended in the read me of this repo) and the mmdet from sources as well (I tried last mmdet, mmdet==2.14.0 as it is recommended in the mminstall.txt for mmpose 0.24.0: ['mmcv-full>=1.3.8', 'mmdet>=2.14.0', 'mmtrack>=0.6.0']., and mmdet==2.23.0)
here is what I have with the following versions for example (pip list) :
mmcv 1.3.9
mmdet 2.14.0
mmpose 0.24.0
Note that I use this :
torch 1.11.0+cu113
torchvision 0.12.0+cu113
I got this error :
/home/ubuntu/venv/lib/python3.8/site-packages/mmcv/cnn/bricks/transformer.py:27: 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 ' Traceback (most recent call last): File "demo/top_down_pose_tracking_demo_with_mmdet.py", line 190, in <module> main() File "demo/top_down_pose_tracking_demo_with_mmdet.py", line 74, in main assert has_mmdet, 'Please install mmdet to run the demo.' AssertionError: Please install mmdet to run the demo.
when I put mmdet to 2.23.0 I got this error :
AssertionError: MMCV==1.3.9 is used but incompatible. Please install mmcv>=1.3.17, <=1.6.0.
Tried to set mmcv>=1.3.17, did not resolve the problem !
can you please tell us which versions (mmcv and mmdet) are recommended to run ViTPose on videos ?
The text was updated successfully, but these errors were encountered: