numz / sd-wav2lip-uhq

Wav2Lip UHQ extension for Automatic1111
Apache License 2.0
1.3k stars 173 forks source link

Installing the extension corrupts Automatic1111 #72

Open albertlan opened 1 year ago

albertlan commented 1 year ago

Screenshot 2023-10-05 at 6 49 02 PM Any idea why Automatic1111 (both 1.5 and 1.6) stops working right after installing the wav2lip-udq extension?

numz commented 1 year ago

Hi, Can you tell me what is your python version ? Did you install webui from official repo or other ?

albertlan commented 1 year ago

Hi, the Python version is 3.10.6 and got the webui from official Github. Just tried reinstalling webui again and got the attached errors. Thanks in advance. Screenshot 2023-10-05 at 7 46 56 PM

numz commented 1 year ago

It seems there is issue with 3.10.6, try to use 3.10.11 and Let me know Thanks

SHM132a commented 1 year ago

i also had this problem multiple times. i am also useing python 3.10.6 after installing the extension, when i launch SD i would get this error: lipwave

then after making a fresh working install of SD i would still get this error: lip21

i manually pip installed all the requirements. but still had same results as above.

this is just FYI.

When i get home i will try upgrading to python 3.10.11

Lesonsstar commented 1 year ago

Hi! I have exactly the same issue.

I also tested version 3.10.11.

And it also happened after installing the extension.

curlysasha commented 1 year ago

same, problem in venv folder

SHM132a commented 1 year ago

After upgradeing to 3.10.11 this is now my error:

lippy11

albertlan commented 1 year ago

Anyone with any luck with 3.10.11? I tried updating Python but got myself into even more issues...

APCOTech commented 1 year ago

Same with me on two PCs (3.10.11 and 3.10.6)... I think it is happening to people who installing this extension for the first time... Others who installed previous comets upgraded normally ... venv gets corrupted due to some conflicts I think, mostly because of GFPGAN or facefusion. Building fresh venv does not help either

magekinnarus commented 1 year ago

I have the same problem. Is there any solution to this problem?

fatocwb commented 1 year ago

Same with me on two PCs (3.10.11 and 3.10.6)... I think it is happening to people who installing this extension for the first time... Others who installed previous comets upgraded normally ... venv gets corrupted due to some conflicts I think, mostly because of GFPGAN or facefusion. Building fresh venv does not help either

Do you know how to have access to early version? I tried everything to make this work, but it corrupt the installation. The best case possible was that it only makes the CPU avaliable, but it's necesssary put "set COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test" inside web-user.bat

APCOTech commented 1 year ago

Same with me on two PCs (3.10.11 and 3.10.6)... I think it is happening to people who installing this extension for the first time... Others who installed previous comets upgraded normally ... venv gets corrupted due to some conflicts I think, mostly because of GFPGAN or facefusion. Building fresh venv does not help either

Do you know how to have access to early version? I tried everything to make this work, but it corrupt the installation. The best case possible was that it only makes the CPU avaliable, but it's necesssary put "set COMMANDLINE_ARGS= --lowvram --precision full --no-half --skip-torch-cuda-test" inside web-user.bat

Sadly I do not know how... May be @numz could share a Bark-free version? TBH, I am not interested in Bark or face swapping since me and many users have their own videos or audios to use .. I am only interested in wav2lip only.

numz commented 1 year ago

Hi, You can install previous version : In a cmd Go to "extensions\sd-wav2lip-uhq" folder And type : "git checkout 2283dac" for no bark and no face swap "git checkout 579d384" for no face swap Restart webui Let me know Regards

APCOTech commented 1 year ago

@numz Thanks Man, "git checkout 2283dac" for no bark and no face swap .. it worked so perfect, wav2lip is so amazing and it is very fast too.

Just a quick question please , is this normal? should I ignore it?

Untitled2222

numz commented 1 year ago

Yes it is

cielglan commented 1 year ago

@numz Could you simply change the program to working version ? It corrupt the whole Automatic1111 and many people need to use their time to figure out what is happning. It waste our time.

APCOTech commented 1 year ago

@numz Could you simply change the program to working version ? It corrupt the whole Automatic1111 and many people need to use their time to figure out what is happning. It waste our time.

He just did ... and it is working perfect now

Hi, You can install previous version : In a cmd Go to "extensions\sd-wav2lip-uhq" folder And type : "git checkout 2283dac" for no bark and no face swap "git checkout 579d384" for no face swap Restart webui Let me know Regards

cielglan commented 1 year ago

@APCOTech Thank you for letting me know. So, what should I do ? Is this correct ?

  1. From the extension of Automatic1111, we need to install sd-wav2lip-uhq by pasting https://github.com/numz/sd-wav2lip-uhq.git **but after installation, Automatic1111 can not start up because of corruption.
  2. In cmd prompt, go to the folder, extensions\sd-wav2lip-uhq
  3. and type git checkout 2283dac or git checkout 579d384 4 Start webui-user.bat for restarting webui
APCOTech commented 1 year ago

@cielglan Well, I am not an expert in this, but here is what I did, may be is a better way:

  1. Go to extensions folder and cmd " git clone https://github.com/numz/sd-wav2lip-uhq"
  2. Go to the sd-wav2lip-uhq folder and cmd "git checkout 2283dac"
  3. Start Automatic1111 normally, there may be an error about Head version not matching but everything works fine for me.
  4. Uncheck "sd-wav2lip-uhq" when you update extensions since you do not want it to update for now to the current version.
Echolink50 commented 1 year ago

Same issue. Replaced the venv folder with a good backup venv fixes things. Not sure what the install is doing to the venv folder but that seems to be the problem. Commits after faceswap are a problem. I have seen videos of people using newer commits so not sure what the difference is? Any ideas?

APCOTech commented 1 year ago

Same issue. Replaced the venv folder with a good backup venv fixes things. Not sure what the install is doing to the venv folder but that seems to be the problem. Commits after faceswap are a problem. I have seen videos of people using newer commits so not sure what the difference is? Any ideas?

The solution is in the last 4 or 5 comments above your comment.

Hi, You can install previous version : In a cmd Go to "extensions\sd-wav2lip-uhq" folder And type : "git checkout 2283dac" for no bark and no face swap "git checkout 579d384" for no face swap Restart webui Let me know Regards

Echolink50 commented 1 year ago

Same issue. Replaced the venv folder with a good backup venv fixes things. Not sure what the install is doing to the venv folder but that seems to be the problem. Commits after faceswap are a problem. I have seen videos of people using newer commits so not sure what the difference is? Any ideas?

The solution is in the last 4 or 5 comments above your comment.

Hi, You can install previous version : In a cmd Go to "extensions\sd-wav2lip-uhq" folder And type : "git checkout 2283dac" for no bark and no face swap "git checkout 579d384" for no face swap Restart webui Let me know Regards

Thanks. Yes, I did that and only commit https://github.com/numz/sd-wav2lip-uhq/commit/2283dacdbf0b215fb05e9a18ed828a78d01ef55d has worked for me which is very old. Commit https://github.com/numz/sd-wav2lip-uhq/commit/579d384aa95c4711a0c3b6dcf08378bafb4ba5a3 didn't work for me and none after face swap was added worked either.

Echolink50 commented 1 year ago

Also, does it matter what year visual studio you have?

Nerual-Dreming commented 1 year ago

I spent two days wrestling with this problem on two different systems only to realize that the culprit is this extension that kills your A1111 installation. But this solution work for me too, thx.

Echolink50 commented 1 year ago

I spent two days wrestling with this problem on two different systems only to realize that the culprit is this extension that kills your A1111 installation. But this solution work for me too, thx.

It worked for me too but using the oldest version hardly seems ideal. I was trying to get a newer commit to work.

Uladzimir-Bulakhau commented 1 year ago

This solution doesn't fix the sd-wav2lip-uhq, but it does fix the Automatic1111.

  1. delete the sd-wav2lip-uhq folder in extensions
  2. update to python: 3.10.6 and torch:2.0.1+cu118
  3. delete the venvfolder and restart Webui.
  4. If it still doesn’t work, delete both the venvand the repositories folders and restart
APCOTech commented 1 year ago

https://github.com/numz/sd-wav2lip-uhq/issues/86