Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMCV==2.2.0 is used but incompatible. #24

Open
Aljnk opened this issue Jun 5, 2024 · 5 comments
Open

MMCV==2.2.0 is used but incompatible. #24

Aljnk opened this issue Jun 5, 2024 · 5 comments

Comments

@Aljnk
Copy link

Aljnk commented Jun 5, 2024

[2024-06-05 12:50] Traceback (most recent call last):
File "..\Portable\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..\Portable\ComfyUI\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 "..\Portable\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 554, in posealign_func
return run_align_video_with_filterPose_translate_smooth(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 276, in run_align_video_with_filterPose_translate_smooth
detector = DWposeDetector(
^^^^^^^^^^^^^^^
File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\pose\script\dwpose.py", line 72, in init
from pose.script.wholebody import Wholebody
File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\pose\script\wholebody.py", line 6, in
from mmpose.apis import inference_topdown
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\apis_init_.py", line 2, in
from .inference import (collect_multi_frames, inference_bottomup,
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\apis\inference.py", line 17, in
from mmpose.models.builder import build_pose_estimator
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models_init_.py", line 8, in
from .heads import * # noqa
^^^^^^^^^^^^^^^^^^^^
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models\heads_init_.py", line 6, in
from .hybrid_heads import DEKRHead, RTMOHead, VisPredictHead
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models\heads\hybrid_heads_init_.py", line 3, in
from .rtmo_head import RTMOHead
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models\heads\hybrid_heads\rtmo_head.py", line 9, in
from mmdet.utils import ConfigType, reduce_mean
File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmdet_init_.py", line 17, in
and mmcv_version < digit_version(mmcv_maximum_version)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.

[2024-06-05 12:50] #4 [museposealign]: 1.16s

@lulu-xiao
Copy link
Contributor

[2024-06-05 12:50] Traceback (most recent call last): File "..\Portable\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "..\Portable\ComfyUI\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 "..\Portable\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 554, in posealign_func return run_align_video_with_filterPose_translate_smooth(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\nodes.py", line 276, in run_align_video_with_filterPose_translate_smooth detector = DWposeDetector( ^^^^^^^^^^^^^^^ File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\pose\script\dwpose.py", line 72, in init from pose.script.wholebody import Wholebody File "..\Portable\ComfyUI\ComfyUI\custom_nodes\Comfyui-MusePose\pose\script\wholebody.py", line 6, in from mmpose.apis import inference_topdown File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\apis__init__.py", line 2, in from .inference import (collect_multi_frames, inference_bottomup, File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\apis\inference.py", line 17, in from mmpose.models.builder import build_pose_estimator File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models__init__.py", line 8, in from .heads import * # noqa ^^^^^^^^^^^^^^^^^^^^ File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models\heads__init__.py", line 6, in from .hybrid_heads import DEKRHead, RTMOHead, VisPredictHead File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models\heads\hybrid_heads__init__.py", line 3, in from .rtmo_head import RTMOHead File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmpose\models\heads\hybrid_heads\rtmo_head.py", line 9, in from mmdet.utils import ConfigType, reduce_mean File "..\Portable\ComfyUI\python_embeded\Lib\site-packages\mmdet__init__.py", line 17, in and mmcv_version < digit_version(mmcv_maximum_version)), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: MMCV==2.2.0 is used but incompatible. Please install mmcv>=2.0.0rc4, <2.2.0.

[2024-06-05 12:50] #4 [museposealign]: 1.16s

mim install "mmcv==2.1.0"

@Tophness
Copy link

Tophness commented Jun 5, 2024

I solved this by editing site-packages\mmdet\ init.py.
from mmcv_maximum_version = '2.2.0' to mmcv_maximum_version = '2.3.0'

Solution @ #26

@lulu-xiao
Copy link
Contributor

I solved this by editing site-packages\mmdet\ init.py. from mmcv_maximum_version = '2.2.0' to mmcv_maximum_version = '2.3.0'

Solution @ #26

this works

@123-321Kit
Copy link

Я решил это, отредактировав site-packages\mmdet\ init.py . от mmcv_maximum_version = '2.2.0'доmmcv_maximum_version = '2.3.0'
Решение26

это работает

Do you have 'mmcv._ext' ? I get an error saying that this file is missing.

@Young-Chin
Copy link

#62 for cuda==11.8, the version torch==2.0.1, mmcv==2.0.1 solved~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants