frankchieng / ComfyUI_MagicClothing

unofficial implementation of Comfyui magic clothing
Other
521 stars 44 forks source link

Linear.forward() takes 2 positional arguments but 3 were given #31

Open HSJDZNM opened 7 months ago

HSJDZNM commented 7 months ago

屏幕截图 2024-04-28 161130 屏幕截图 2024-04-28 161143

ubuntu anaconda python3.11

xpluscal commented 7 months ago

same issue

xpluscal commented 7 months ago

This seems to happen even on the basic workflow. See attached configuration:

Screenshot 2024-05-02 at 14 00 35
frankchieng commented 7 months ago

just following exactly the library version in requirements.txt,especially the pytorch version,i've not tested the other one

mishirokn commented 6 months ago

can someone tell me how to fix it ? thanks

kkde73 commented 6 months ago

To ensure compatibility with other nodes, I modified the requirements file to include diffusers==0.27.2 and accelerate>=0.29.2. However, this possibly resulted in issues similar to those described in the main post.

Error occurred when executing MagicClothing_Generate:

Linear.forward() takes 2 positional arguments but 3 were given

Is there a way to resolve this?

frankchieng commented 6 months ago

Double check numpy,be exactly with the same version in requirements.txt

kkde73 commented 5 months ago

Double check numpy,be exactly with the same version in requirements.txt

I have checked the numpy version, and it is Version: 1.25.1, which matches the version specified in the requirements.txt file.

And my PyTorch version matches the requirement in requirements.txt, specifically 2.1.1+cu118.

fredzhang2008 commented 2 months ago

相同的问题,如何解决这个问题

opsandy commented 3 weeks ago

你解决了吗

jiewei888 commented 1 week ago

同样问题 求方案