TMElyralab / Comfyui-MusePose

Other
367 stars 39 forks source link

mmcv,No module named 'mmcv._ext' #22

Open lifeng5658 opened 5 months ago

lifeng5658 commented 5 months ago

Error occurred when executing museposealign:

No module named 'mmcv._ext'

File "E:\AI\Install\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\AI\Install\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\AI\Install\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "E:\AI\Install\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 554, in posealign_func return run_align_video_with_filterPose_translate_smooth(args) File "E:\AI\Install\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 276, in run_align_video_with_filterPose_translate_smooth detector = DWposeDetector( File "E:\AI\Install\ComfyUI\custom_nodes\Comfyui-MusePose\pose\script\dwpose.py", line 72, in init from pose.script.wholebody import Wholebody File "E:\AI\Install\ComfyUI\custom_nodes\Comfyui-MusePose\pose\script\wholebody.py", line 11, in from mmdet.apis import inference_detector, init_detector File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\apis__init__.py", line 2, in from .det_inferencer import DetInferencer File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\apis\det_inferencer.py", line 22, in from mmdet.evaluation import INSTANCE_OFFSET File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\evaluation__init__.py", line 3, in from .metrics import # noqa: F401,F403 File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\evaluation\metrics__init.py", line 5, in from .coco_metric import CocoMetric File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\evaluation\metrics\coco_metric.py", line 18, in from mmdet.structures.mask import encode_mask_results File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\structures\mask\init.py", line 3, in from .structures import (BaseInstanceMasks, BitmapMasks, PolygonMasks, File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmdet\structures\mask\structures.py", line 12, in from mmcv.ops.roi_align import roi_align File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmcv\ops\init.py", line 3, in from .active_rotated_filter import active_rotated_filter File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmcv\ops\active_rotated_filter.py", line 10, in ext_module = ext_loader.load_ext( File "E:\AI\Install\ComfyUI\python\lib\site-packages\mmcv\utils\ext_loader.py", line 13, in load_ext ext = importlib.import_module('mmcv.' + name) File "E:\AI\Install\ComfyUI\python\lib\importlib\init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level)

123-321Kit commented 5 months ago

same problem. looking for a solution

Young-Chin commented 2 months ago

The version of cuda and torch may not match. Cuda-torch-mmcv-diffusers-xformers have connections, check it step by step(just keep the lowest one of recommend versions).