FangyunWei / SLRT

259 stars 56 forks source link

raise ImportError('Failed to import `inference_top_down_pose_model` #45

Open anasrehman opened 9 months ago

anasrehman commented 9 months ago

Traceback (most recent call last): File "/home/stdc/Desktop/SignLanguageProject/SLRT/NLA-SLR/gen_pose.py", line 46, in raise ImportError('Failed to import inference_top_down_pose_model and 'raise ImportError('Failed to import inference_top_down_pose_model and '

raise ImportError('Failed to import inference_top_down_pose_model and 'ImportErrorImportErrorraise ImportError('Failed to import inference_top_down_pose_model and ' : : ImportErrorFailed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script! raise ImportError('Failed to import inference_top_down_pose_model and 'Failed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script! raise ImportError('Failed to import inference_top_down_pose_model and ':

raise ImportError('Failed to import inference_top_down_pose_model and 'ImportErrorFailed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script! ImportError : ImportError: ImportError : : Failed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script! Failed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script!

Failed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script! Failed to import inference_top_down_pose_model and init_pose_model form mmpose.apis. These apis are required in this script! from mmpose.apis import inference_top_down_pose_model, init_pose_model, vis_pose_result ImportError: cannot import name 'inference_top_down_pose_model' from 'mmpose.apis' (/home/stdc/Desktop/SignLanguageProject/.venv/lib/python3.10/site-packages/mmpose/apis/init.py)

During handling of the above exception, another exception occurred:

anasrehman commented 9 months ago

despite i have installed given listed on requirement.txt, I am facing this issue. please help me