kennymckormick / pyskl

A toolbox for skeleton-based action recognition.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AssertionError: Failed to build the detection model. Check if you have installed mmcv-full properly. You should first install mmcv-full successfully, then install mmdet, mmpose.

azelee opened this issue · comments

When I ran this script "python demo/demo_skeleton.py demo/ntu_sample.avi demo/demo.mp4", I met the problem below, would you please help me solve the problem, thanks!
image
Environment: mmcv 1.3.18, mmcv-full 1.3.18, mmdet 2.23.0, mmpose 0.24.0, torch 1.8.1+cu111

commented

I noticed that the installation instructions for MMCV on the ReadTheDocs page mention a way to check the version of your installed MMCV package. Here's the link to the relevant section of the page:

https://mmcv.readthedocs.io/en/latest/get_started/installation.html#install-mmcv-full

Alternatively, if you need to reinstall MMCV or install a specific version, you can use the following command:

pip install mmcv-full==1.7.0 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.8/index.html

This will install version 1.7.0 of MMCV with CUDA 11.1 support for PyTorch 1.8. Keep in mind that you may need to adjust the cu111 and torch1.8 parts of the URL to match your specific CUDA and PyTorch versions, respectively.

I hope this helps! Let me know if you have any further questions.

Please following the new installation guide to reinstall pyskl and see if the problem has been fixed now.

请按照新的安装指南重新安装 pyskl 并查看问题是否已解决。
你好,我按照最新指南安装,仍出现相同的错误,请问需要如何解决?