TMElyralab / MuseTalk

MuseTalk: Real-Time High Quality Lip Synchorization with Latent Space Inpainting
Other
2.5k stars 305 forks source link

ModuleNotFoundError: No module named 'mmcv' #180

Open GFY2000 opened 1 month ago

GFY2000 commented 1 month ago

Traceback (most recent call last): File "/meta/AigcPainting/ComfyUI/nodes.py", line 1982, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/meta/AigcPainting/ComfyUI/custom_nodes/ComfyUI-MuseTalk/init.py", line 1, in from .nodes import NODE_CLASS_MAPPINGS File "/meta/AigcPainting/ComfyUI/custom_nodes/ComfyUI-MuseTalk/nodes.py", line 26, in from musetalk.utils.preprocessing import get_landmark_and_bbox,read_imgs,coord_placeholder File "/meta/AigcPainting/ComfyUI/custom_nodes/ComfyUI-MuseTalk/musetalk/utils/preprocessing.py", line 10, in from mmpose.apis import inference_topdown, init_model File "/root/anaconda3/envs/comfyui-311/lib/python3.11/site-packages/mmpose/init.py", line 2, in import mmcv ModuleNotFoundError: No module named 'mmcv'

aaaastark commented 3 weeks ago

Install these packages in your virtual environment for Torch 2.2.2 of cuda121 or cuda118.

pip install openmim==0.3.9

mim install mmengine==0.10.4 mim install mmcv==2.1.0 mim install mmdet==3.2.0 mim install mmpose==1.3.2