On running, python3 webcam_demo.py --device=cpu, I got the below error
Error:
File "webcam_demo.py", line 11, in
from mmpose.apis import (get_track_id, inference_top_down_pose_model,
ImportError: cannot import name 'get_track_id' from 'mmpose.apis' (/home/.local/lib/python3.8/site-packages/mmpose/apis/init.py)
Full output:
.local/lib/python3.8/site-packages/torch/cuda/init.py:107: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:109.)
return torch._C._cuda_getDeviceCount() > 0
/home/.local/lib/python3.8/site-packages/scipy/init.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.24.4
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}"
Traceback (most recent call last):
File "webcam_demo.py", line 11, in
from mmpose.apis import (get_track_id, inference_top_down_pose_model,
ImportError: cannot import name 'get_track_id' from 'mmpose.apis' (/home/.local/lib/python3.8/site-packages/mmpose/apis/init.py)
On running, python3 webcam_demo.py --device=cpu, I got the below error Error: File "webcam_demo.py", line 11, in
from mmpose.apis import (get_track_id, inference_top_down_pose_model,
ImportError: cannot import name 'get_track_id' from 'mmpose.apis' (/home/.local/lib/python3.8/site-packages/mmpose/apis/init.py)
Versions: mmcv - 2.0.0rc4 mmdet - 3.1.0 mmpose - 1.1.0
Full output: .local/lib/python3.8/site-packages/torch/cuda/init.py:107: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:109.) return torch._C._cuda_getDeviceCount() > 0 /home/.local/lib/python3.8/site-packages/scipy/init.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.24.4 warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}" Traceback (most recent call last): File "webcam_demo.py", line 11, in
from mmpose.apis import (get_track_id, inference_top_down_pose_model,
ImportError: cannot import name 'get_track_id' from 'mmpose.apis' (/home/.local/lib/python3.8/site-packages/mmpose/apis/init.py)