Cuxiagui
Cuxiagui
> 得到了一个对我有用的修复程序。当您第一次使用面部还原功能时,它应该从Github下载一些文件。该错误似乎是因为在程序尝试使用这些文件之前下载不完整,因此它认为文件已损坏。所以我检查了错误日志并找到了这些文件的链接,这些文件从 Github 手动下载并将它们放入目标路径(当然是在错误日志中),这解决了问题。 > > 以下是我需要的文件的链接以及我将它们放入的位置,可能对您有所帮助: [https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.pth --->](https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.pth) /stable-diffusion-webui/models/Codeformer/codeformer-v0.1.0.pth https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth ---> /stable-diffusion-webui/repository/CodeFormer/weights/facelib/detection_Resnet50_Final.pth https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/parsing_parsenet.pth ---> /stable-diffusion-webui/repositories/CodeFormer/weights/facelib/parsing_parsenet.pth This works!thank you