SadTalker icon indicating copy to clipboard operation
SadTalker copied to clipboard

Error "The file may be malicious, so the program is not going to read it."

Open lowl7 opened this issue 1 year ago • 6 comments

I know I can write --disable-safe-unpickle in the webui_user.bat But why do I need to do that? Why does it need me to compromise the security of it?

Wasn't this issue fixed already?

lowl7 avatar Apr 26 '23 15:04 lowl7

It is already fixed. we find the unsafe pickle comes from the 3rd package of face-alignment:https://github.com/1adrianb/face-alignment, so we fix it with other alternatives.

vinthony avatar Apr 26 '23 16:04 vinthony

I just loaded this extension for the first time and I also get this error... so its not fixed?

briwil avatar Apr 26 '23 21:04 briwil

I just loaded this extension for the first time and I also get this error... so its not fixed?

are you using GPU?

vinthony avatar Apr 27 '23 03:04 vinthony

The same happened to me. It worked well a few days ago, but I'm receiving that message now.

I'm using GPU, RTX 3060 12GB.

The problem seems to be with the file wav2lip.pth.

Update: Looking again, it seems that I have renamed a folder, but the extensions keep looking for the old name. For some reason, not finding the file wav2lip.pth in that location is triggering the malicious file error.

I'm trying to find the file where the location of the models is specified to see if it solves the problem.

Update 2: I remembered that you have to declare the location of the checkpoints in the webui-user.bat file. I forgot to modify that after renaming the folder. It seems that if the extension can't load the checkpoints, the "malicious file" error is triggered.

Adding the line set SADTALKER_CHECKPOINTS={your checkpoints folder} in the webui-user.bat should fix it.

Jeffuy avatar Apr 27 '23 03:04 Jeffuy

I just loaded this extension for the first time and I also get this error... so its not fixed?

are you using GPU?

Yes

briwil avatar Apr 27 '23 05:04 briwil

It seems to have been fixed as vinthony said, at least on my part it was my own mistake. When I downloaded the files through the Google Drive and places them in the checkpoints folder the error went away.

lowl7 avatar Apr 29 '23 19:04 lowl7