TMElyralab / Comfyui-MusePose

Other
287 stars 28 forks source link

[SOLUTION] Windows install is broken #26

Open Tophness opened 4 weeks ago

Tophness commented 4 weeks ago

The windows install is a nightmare. Adding the solution here for everyone that's tried everything else.

git clone https://github.com/TMElyralab/Comfyui-MusePose
cd Comfyui-MusePose
pip install -r requirements.txt
pip install aliyun-python-sdk-core-v3==2.13.10
pip install --no-cache-dir -U openmim
mim install mmengine 
pip install "mmcv>=2.0.1"
pip install "mmdet>=3.1.0"
pip install "mmpose>=1.1.0"

Then edit line 9 of init.py in Lib\site-packages\mmdet\ from mmcv_maximum_version = '2.2.0' to mmcv_maximum_version = '2.3.0'

ioritree commented 4 weeks ago
** Platform: Windows
** Python version: 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Total VRAM 24575 MB, total RAM 65469 MB
pytorch version: 2.3.0+cu121
xformers version: 0.0.26.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
VAE dtype: torch.bfloat16
Using xformers cross attention

No module named 'mmcv._ext'

fusillustrator commented 4 weeks ago

The windows install is a nightmare. Adding the solution here for everyone that's tried everything else.

git clone https://github.com/TMElyralab/Comfyui-MusePose
cd Comfyui-MusePose
pip install -r requirements.txt
pip install aliyun-python-sdk-core-v3==2.13.10
pip install --no-cache-dir -U openmim
mim install mmengine 
pip install "mmcv>=2.0.1"
pip install "mmdet>=3.1.0"
pip install "mmpose>=1.1.0"

Then edit line 9 of init.py in Lib\site-packages\mmdet from mmcv_maximum_version = '2.2.0' to mmcv_maximum_version = '2.3.0'

are the instructions unclear? what do I do after editing bro

fusillustrator commented 4 weeks ago

The windows install is a nightmare. Adding the solution here for everyone that's tried everything else.

git clone https://github.com/TMElyralab/Comfyui-MusePose
cd Comfyui-MusePose
pip install -r requirements.txt
pip install aliyun-python-sdk-core-v3==2.13.10
pip install --no-cache-dir -U openmim
mim install mmengine 
pip install "mmcv>=2.0.1"
pip install "mmdet>=3.1.0"
pip install "mmpose>=1.1.0"

Then edit line 9 of init.py in Lib\site-packages\mmdet from mmcv_maximum_version = '2.2.0' to mmcv_maximum_version = '2.3.0'

after following this , the intercept error went away and a new error came image

curlysasha commented 4 weeks ago

The detected CUDA version (11.8) mismatches the version that was used to compile PyTorch (12.1). Please make sure to use the same CUDA versions.

pppyl commented 1 week ago

pip install "mmcv>=2.0.1"会卡轮子并且安装错误 使用mim install "mmcv>=2.0.1"安装成功