pyskl icon indicating copy to clipboard operation
pyskl copied to clipboard

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.

Open azelee opened this issue 2 years ago • 3 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

azelee avatar Feb 24 '23 08:02 azelee

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.

sunyuhan19981208 avatar Mar 06 '23 03:03 sunyuhan19981208

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

kennymckormick avatar Mar 22 '23 07:03 kennymckormick

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

Dong-tranction avatar Aug 05 '23 08:08 Dong-tranction