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

So Far Not So Good #11

Closed
AIMusicExperiment opened this issue Aug 6, 2023 · 22 comments
Closed

So Far Not So Good #11

AIMusicExperiment opened this issue Aug 6, 2023 · 22 comments

Comments

@AIMusicExperiment
Copy link

Hi, I'm a content creator on YouTube and I was really excited to try out your new extension so I could make a video about it. . . Well in short, I can't get it to work so it would not be a very good video. . . Seriously though this is to be expected since you just released it. Anyway, when I attempt to generate an output I get the following console error. A1111 is up to date, as are all my dependencies. I have downloaded the appropriate models and placed them in the correcto folders. Do you have any idea what I'm doing wrong, or is this in fact a problem with you extension? Thanks!
Wav2Lip

@numz
Copy link
Owner

numz commented Aug 6, 2023

Hi,
Sorry about that

it seems the file :
"c:\sd.webui\webui\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\detection\sfd\s3fd.pth" does not exist, so it try to download one on the net ...

are you sure that you place this file in the good folder?

let me know :)

@AIMusicExperiment
Copy link
Author

Well it "sort of" existed. the downloaded file was named s3fd-619a316812.pth, so I renamed it to s3fd.pth and it seems to be working now.

Oh BTW the resize slider in your GUI isn't working. . .

Thanks for your help and your quick attention to my issue.

@numz
Copy link
Owner

numz commented Aug 6, 2023

True for the slider, it doesn't work as expected...

can you tell me what is your youtube channel? i'll follow for see results :)
Thanks for report and see you :)

@AIMusicExperiment
Copy link
Author

But wait, there's more. . .It failed again while it was generating, different thing this time. . . Hopefully we can get this sorted out.

https://www.youtube.com/channel/UCypaKOXWzzTxDvr3jWlfD6g I have been a huge fan of SadTalker, and I intend to compare Wav2Lip with Sad Talker. Hopefully I can get this working so that I can do so. Here is an earlier video that I did about SadTalker, and I actually mentioned the early work on Wav2Lip in the video as a foundation for SadTalker.
Wav2Lip

@numz
Copy link
Owner

numz commented Aug 6, 2023

please can you update sd-wav2lip-uhq and restart the UI?
please, let me know if this error come again

@AIMusicExperiment
Copy link
Author

Using the current commit, 6967d1a in A1111, and I did a git pull on the folder and it said it was up to date. It gave me the same error after it generated the first frame. Seems like it is having trouble saving the image. . .

@numz
Copy link
Owner

numz commented Aug 6, 2023

And did you restart the UI?
it's important, because sometime it keep parameters in memory...
I ever had the same error on different projet, like deforum and my only solution was to completly restart UI ... i'm not sure it's especially due to wav2lip..
Let me know

@AIMusicExperiment
Copy link
Author

Yep, restarted the Server and the ui

@numz
Copy link
Owner

numz commented Aug 6, 2023

ok and did you do something else in the UI before play with wav2lip?

@AIMusicExperiment
Copy link
Author

Yes, I made a video on SadTalker, But I reloaded after that

@numz
Copy link
Owner

numz commented Aug 6, 2023

that come from the option "grid_save" in options , let me check something.... i'm back quickly

@numz
Copy link
Owner

numz commented Aug 6, 2023

just for test if that came from here, can you go to :
Settings => Saving images/grids => and uncheck "Always save all generated image grids" please?

and retry

Sorry about those inconvenient...

@AIMusicExperiment
Copy link
Author

That seems to have solved it, at least as far as we can tell, but it still has lots of frames to process. I will let you know later. . .

@numz
Copy link
Owner

numz commented Aug 6, 2023

Ok i see...

do you have the same options in the "paths for savings settings"?
ssss

@AIMusicExperiment
Copy link
Author

Nope, I generate tons of images and they all go to a similar directory structure on a different drive. If I used my main drive it would be full in a week HaHA

@AIMusicExperiment
Copy link
Author

I just looked and the images are being stored in the correct directories within the sd-wav2lip-uhq folder. I'm guessing that this will all work out!

@numz
Copy link
Owner

numz commented Aug 6, 2023

ok i find a way to ignore this issue, you can re-check "Always save all generated image grids"
and after updating wav2lip-uhq the issue will not appear

@AIMusicExperiment
Copy link
Author

Well I've got good news and bad news for you:
It generated a video, and the lip syncing seems to be working well, but it attached themask to the frame and rendered them together. (see picture) github won't let me upload the video because it is too large, but the video has both the mainframe and the mask side by side.

Kind of useless if you ask me. . .

Hope that you can get this fixed.

output_00000

@AIMusicExperiment
Copy link
Author

I went ahead and updated to the new commit that you wrote and reclicked the save grid thing. I'm regenerating this and it looks like it is going to work! I will let you know in the morning.

@numz
Copy link
Owner

numz commented Aug 7, 2023

Ahhhh cool !!
Let me know :)

@AIMusicExperiment
Copy link
Author

Yes, that solved the problem. Now I can get down to work! Thanks again for all your help.

@numz
Copy link
Owner

numz commented Aug 7, 2023

Perfect !! thank you too for your time !!
I close the issue :)

@numz numz closed this as completed Aug 7, 2023
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

2 participants